This specific copypasta breaks the message field

(#3917) Bug Closed: Fixed Priority: P2 desktop messaging

Reproduction steps

  1. Copy the copypasta below
  2. Attempt to paste it in the message box on Fluxer
  3. Notice nothing was pasted
  4. Try typing and notice that no characters are entered
  5. Switch channels to restore message box functionality

Expected behaviour

Copypastas should not break Fluxer

Actual behaviour

This copypasta somehow breaks Fluxer

Build information

Canary Desktop 2026.1009.45608, Web 2026.1011.165018, Linux 7.2.9-200.fc44.x86_64 (x64), Electron 44.4.1, Chrome 152.0.7977.78, Node 24.21.0, Locale en-US Canary Web 2026.1011.165003, Linux (x64), Firefox 157.0, Locale en-US Does NOT affect Mobile

Platform

Linux, Web

Evidence

I swear to god I don't know how to repro this without the copypasta so you'll just have to suffer the full meme.
:bangbang::bangbang:HOLY FUCKING SHIT:bangbang::bangbang::bangbang::bangbang: IS THAT A MOTHERFUCKING AMONG US REFERENCE??????!!!!!!!!!!11!1!1!1!1!1!1! :scream::scream::scream::scream::scream::scream::scream: AMONG US IS THE BEST FUCKING GAME :fire::fire::fire::fire::100::100::100::100: RED IS SO SUSSSSS :detective::detective::detective::detective::detective::detective::detective::red_square::red_square::red_square::red_square::red_square: COME TO MEDBAY AND WATCH ME SCAN :hospital::hospital::hospital::hospital::hospital::hospital::hospital::hospital: :hospital::hospital::hospital::hospital: WHY IS NO ONE FIXING O2 :face_with_symbols_over_mouth::rage::face_with_symbols_over_mouth::rage::face_with_symbols_over_mouth::rage::face_with_symbols_over_mouth::face_with_symbols_over_mouth::rage::face_with_symbols_over_mouth::face_with_symbols_over_mouth::rage: OH YOUR CREWMATE? NAME EVERY TASK :gun::angry::gun::angry::gun::angry::gun::angry::gun::angry: Where Any sus!:question: :question: Where!:question: :question: Where! Any sus!:question: Where! :question: Any sus!:question: :question: Any sus! :question: :question: :question: :question: Where!Where!Where! Any sus!Where!Any sus Where!:question: Where! :question: Where!Any sus:question: :question: Any sus! :question: :question: :question: :question: :question: :question: Where! :question: Where! :question: Any sus!:question: :question: :question: :question: Any sus! :question: :question: Where!:question: Any sus! :question: :question: Where!:question: :question: Where! :question: Where!Where! :question: :question: :question: :question: :question: :question: :question: Any sus!:question: :question: :question: Any sus!:question: :question: :question: :question: Where! :question: Where! Where!Any sus!Where! Where! :question: :question: :question: :question: :question: :question: I think it was purple!:eyes::eyes::eyes::eyes::eyes::eyes::eyes::eyes::eyes::eyes:It wasnt me I was in vents!!!!!!!!!!!!!!:joy::rofl::joy::rofl::joy::rofl::joy::joy::joy::rofl::rofl::rofl::joy::joy::joy:
Note that the copypasta is over 2000 characters, so at least with this specific copypasta only plutonium users will be able to reproduce this issue.
  1. Fullest changed the status from Awaiting confirmation to Fixed
  1. The pull request fluxer#3459 mentions this post Merged
  2. The pull request fluxer#3459 was merged Merged

13 comments

Sign in with Fluxer to comment and vote.
Comment by ternera
terneraMod 1 vote
Status changed from Needs triage to Confirmed
Confirmed: Canary Web 2026.1011.165003, macOS 10.15.7 (arm64), Chrome 155.0.0.0, Locale en-US
Comment by Rex
RexSystem 1 vote
Status changed from Confirmed to Awaiting confirmation
Fixed in web 2026.1014.144502
Comment by cloud
cloud 2 votes 2 replies
I feel embarrassed to say that I triggered this, but I was trying to find one specifically with a lot of emojis and that was the first one I saw, sorry. The way you get around this for now is to refresh fluxer (ctrl + r) and.. preferably not paste that again. I genuinely have no idea how or why the double bang is triggering this here, as I pasted a short one with a double bang and some other emojis with no breakage. It seems like this specific combination of emojis and/or the number of them causes it, because I tried to recreate this again by pasting two smaller pastas that had more double bangs relative to other emojis compared to that one, over and over again to increase the character count, and was not able to replicate this again. It's something with this specific one. Also on latest Canary, and Stable is affected too.
Comment by cloud
cloud 1 vote edited 1 reply
Ok, so I started pasting different portions of it and no freezes were happening, so I started removing emojis from the start. I pasted just the where portion and the end, just the beginning before the where portion, so then I started removing the double bangs and it still froze the message bar, so it isn't that. I kept removing them until I came across 😡 and 🤬 and it posted. However, I pasted the whole pasta with the raging portion removed and it still freezes, so it's actually not just this either.
Comment by cloud
I spent some more time on this and it seems like the where portion with the question marks is causing it. I kept removing them until it would not freeze. Seems like it stops working past 8 ❓ emojis in. If you paste this:
‼️‼️HOLY FUCKING SHIT‼️‼️‼️‼️ IS THAT A MOTHERFUCKING AMONG US REFERENCE??????!!!!!!!!!!11!1!1!1!1!1!1! 😱😱😱😱😱😱😱 AMONG US IS THE BEST FUCKING GAME 🔥🔥🔥🔥💯💯💯💯 RED IS SO SUSSSSS 🕵️🕵️🕵️🕵️🕵️🕵️🕵️🟥🟥🟥🟥🟥 COME TO MEDBAY AND WATCH ME SCAN 🏥🏥🏥🏥🏥🏥🏥🏥 🏥🏥🏥🏥 WHY IS NO ONE FIXING O2 🤬😡🤬😡🤬😡🤬🤬😡🤬🤬😡 OH YOUR CREWMATE? NAME EVERY TASK 🔫😠🔫😠🔫😠🔫😠🔫😠 Where Any sus!❓ ❓ Where!❓ ❓ Where! Any sus!❓ Where! ❓ Any sus!❓ ❓ Any sus! ❓ ❓ ❓ ❓I think it was purple!👀👀👀👀👀👀👀👀👀👀It wasnt me I was in vents!!!!!!!!!!!!!!😂🤣😂🤣😂🤣😂😂😂🤣🤣🤣😂😂😂
the freeze happens and you have to refresh. If you paste this:
‼️‼️HOLY FUCKING SHIT‼️‼️‼️‼️ IS THAT A MOTHERFUCKING AMONG US REFERENCE??????!!!!!!!!!!11!1!1!1!1!1!1! 😱😱😱😱😱😱😱 AMONG US IS THE BEST FUCKING GAME 🔥🔥🔥🔥💯💯💯💯 RED IS SO SUSSSSS 🕵️🕵️🕵️🕵️🕵️🕵️🕵️🟥🟥🟥🟥🟥 COME TO MEDBAY AND WATCH ME SCAN 🏥🏥🏥🏥🏥🏥🏥🏥 🏥🏥🏥🏥 WHY IS NO ONE FIXING O2 🤬😡🤬😡🤬😡🤬🤬😡🤬🤬😡 OH YOUR CREWMATE? NAME EVERY TASK 🔫😠🔫😠🔫😠🔫😠🔫😠 Where Any sus!❓ ❓ Where!❓ ❓ Where! Any sus!❓ Where! ❓ Any sus!❓ ❓ Any sus! I think it was purple!👀👀👀👀👀👀👀👀👀👀It wasnt me I was in vents!!!!!!!!!!!!!!😂🤣😂🤣😂🤣😂😂😂🤣🤣🤣😂😂😂
the freeze will not happen. Any more than this, the bar freezes and you have to refresh. Something I forgot to add is that I actually pasted this into my channel back in May and this did not happen. I actually thought that this came from the migration bot I used a while ago, but I actually sent that myself exactly 5 months ago. Some kind of regression? I don't know, this is weird and ridiculous, and I stayed up really late so I'm currently fried and will come back to this because I'm making typos. I crashed the media server and did this? What next? 😭 🙏
Comment by Meisho Doto
Meisho Doto 2 votes 4 replies
hello there, can i take this issue
Comment by Fullest
Fullest OP2 votes 3 replies
If you do take this I'd love to hear the explanation for this bug's behavior
Comment by Meisho Doto
Meisho Doto 1 vote 2 replies
Well... I already had a fix laying around for this... The root cause of this is because of how the emoji transformer works lets say we have bunch of emojis: :a: :b: :c: :d: :e: the emoji transformer parses the next token (:a:), transforms it and returns itself :b: :c: :d: :e:, and it takes the next token(:b:) and so on (basically a recursion type of thing) there is a harcoded limit on how many recursions there can be to prevent browsers from freezing because of infinite recursion errors and so that limit causes this bug to happen so i updated the code to not recursively transform but in a single pass (find all stuff that needs to change, update them)
Comment by Fullest
Fullest OP1 vote 1 reply
oh sick that makes a lot of sense. if you already have the fix I think you should just make the PR... I'm sure Hampus won't mind!
Comment by Fullest
Okay, real talk: I tried copying smaller and smaller parts of it, and this is the point where it breaks:
:bangbang::bangbang:HOLY FUCKING SHIT:bangbang::bangbang::bangbang::bangbang: IS THAT A MOTHERFUCKING AMONG US REFERENCE??????!!!!!!!!!!11!1!1!1!1!1!1! :scream::scream::scream::scream::scream::scream::scream: AMONG US IS THE BEST FUCKING GAME :fire::fire::fire::fire::100::100::100::100: RED IS SO SUSSSSS :detective::detective::detective::detective::detective::detective::detective::red_square::red_square::red_square::red_square::red_square: COME TO MEDBAY AND WATCH ME SCAN :hospital::hospital::hospital::hospital::hospital::hospital::hospital::hospital: :hospital::hospital::hospital::hospital: WHY IS NO ONE FIXING O2 :face_with_symbols_over_mouth::rage::face_with_symbols_over_mouth::rage::face_with_symbols_over_mouth::rage::face_with_symbols_over_mouth::face_with_symbols_over_mouth::rage::face_with_symbols_over_mouth::face_with_symbols_over_mouth::rage: OH YOUR CREWMATE? NAME EVERY TASK :gun::angry::gun::angry::gun::angry::gun::angry::gun::angry: Where Any sus!:question: :question: Where!:question: :question: Where! Any sus!:question: Where! :question: Any sus!:question: :question: Any sus! :question: :question: :question: :question: Where!Where!Where! Any sus!Where!Any sus Where!:question: Where! :question: Where!Any sus:question: :question: Any sus! :question: :question: :question: :question: :question: :question: Where! :question: Where! :question: Any sus!:question: :question: :question: :question: Any sus! :question: :question: Where!:question: Any sus! :question: :question: Where!:question: :question: Where! :question: Where!Where!
Note that the message box is able to successfully render 101 of the emojis (yes, I counted. I am being serious here, after all), but one of the early ‼️ emojis fails to render. I think the number of emojis has something to do with this bug, but simply copypasting 100+ emojis works fine so there is more to it than just that. Copying another emoji past this point causes the message box to become unresponsive.
Comment by defaultuser0
Also could repro on Canary Web 2026.1011.174115, Linux (x86), Chrome 154.0.0.0, Locale en-US when pasted to a empty message box. (P.S. now everybody in the channel thinks I have gone full mental😭)