glitch-soc / mastodon

A glitchy but lovable microblogging server
https://glitch-soc.github.io/docs/
GNU Affero General Public License v3.0
702 stars 182 forks source link

column crash in advanced mode in glitch-soc flavour #2370

Open jubalfh opened 1 year ago

jubalfh commented 1 year ago

Steps to reproduce the problem

unfortunately i haven't found a sure method to replicate the issue, but it usually hapens when viewing long threads with embedded images.

Expected behaviour

application column functions correctly

Actual behaviour

a whole column crashed with an error

Detailed description

while browsing a thread using the advanced web interface, sometimes the whole column crashes, and displays a button allowing to copy the error message.

unfortunately i do not have a sure way to trigger the issue for a reproduction. if i find one, i'll definitely add it to the thread.

NOTE: i'm checking with other treehouse variant users if they're noticing something similar, but neither git log nor git blame show any changes specific to treehouse version.

Mastodon instance

circumstances.run

Mastodon version

v4.1.6+glitch.th

Browser name and version

Firefox 116.0

Operating system

Linux (Ubuntu 23.04) on the desktop / Linux (Debian bookworm) on the mastodon server.

Technical details

TypeError: e is undefined
putImageData (webpack:///app/javascript/path/to/mastodon/app/javascript/flavours/glitch/components/blurhash.tsx:36:11)
kj (webpack:///node_modules/react-dom/cjs/react-dom.production.min.js:4119:15)
memoizedProps (webpack:///node_modules/react-dom/cjs/react-dom.production.min.js:4110:1069)
Lg (webpack:///node_modules/react-dom/cjs/react-dom.production.min.js:6466:51)
Mk (webpack:///node_modules/react-dom/cjs/react-dom.production.min.js:6123:)
Uk (webpack:///node_modules/react-dom/cjs/react-dom.production.min.js:6115:30)
Jk (webpack:///node_modules/react-dom/cjs/react-dom.production.min.js:6102:10)
Ok (webpack:///node_modules/react-dom/cjs/react-dom.production.min.js:5829:4)
Fk (webpack:///node_modules/react-dom/cjs/react-dom.production.min.js:5881:40)
jg (webpack:///node_modules/react-dom/cjs/react-dom.production.min.js:2469:8)
ig(Fk.bind (webpack:///node_modules/react-dom/cjs/react-dom.production.min.js:5716:34)
ClearlyClaire commented 1 year ago

Do you perhaps use browser extensions that could mess with the page?

jubalfh commented 1 year ago

hmh. the only one i can think of that possibly could mess with mastodon directly was the mastodon language detector, but as it happens, i forgot to configure it for my home server. anyways, i've disabled it and will let you know if keep getting crashes.

(i'm also using a translation plugin, but i've used it for years and never noticed any interference)