this post was submitted on 02 Jan 2026
92 points (98.9% liked)

Programming

24348 readers
245 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

I thought of this after a recent bug I found. I use Vivaldi browser and recently it updated. After the update my mouse cursor was not visible when within the browser window. Other programs worked fine. I tried visual studio and steam and epic game store all had my mouse, Vivaldi didn't.

I closed all instances of Vivaldi via task nanager(was unable to click the x) and restarted it. That fixed the bug and I haven't been able to replicate so I don't have anything to submit for a bug report. Just a really strange thing.

What have been your weirdest bugs?

you are viewing a single comment's thread
view the rest of the comments
[–] mushroommunk@lemmy.today 59 points 1 week ago* (last edited 1 week ago) (4 children)

I joined a team and was assigned a bug that had been bugging them for two years. Randomly files they saved would be corrupted.

Eventually isolated it to the third party library they used to serialize the data. For some reason this library corrupted file names that were an odd length. So "cat" would get corrupted while "cats" would save and load just fine. It was a black box library we didn't control so was told to just program a workaround to check filename length and append a character if it was odd and move on.

I still want to know what that library was doing.

[–] A_norny_mousse@feddit.org 18 points 1 week ago

I still want to know what they library was doing.

Haunting

[–] ReducedArc@lemmy.world 9 points 1 week ago (1 children)

Notepad on windows, I think around the XP and earlier versions, had a similar bug. If you typed this app can break and saved it, the file would be corrupted. Something to do with the number and placement of characters.

[–] clean_anion@programming.dev 10 points 1 week ago

ASCII was interpreted as UTF because the function that checked whether the given text was Unicode checked the difference between bytes at even and odd positions. Many of the common phrases used to trigger this were in the 4-3-3-5 format (by letters), e.g., Bush hid the facts However, there was never any reason that this format of character placement was necessary for the bug (though even length was necessary)

[–] vrek@programming.dev 4 points 1 week ago

Hmm yeah that's really weird... I can't think of a purpose for a check like that, plus even it was a valid reason throw an exception or return a result indicating failure, don't just corrupt the file

[–] Lysergid@lemmy.ml 2 points 1 week ago (1 children)

I’m curious now. Can you describe “corrupted”? One char off? Non-ascii gibberish?

[–] mushroommunk@lemmy.today 5 points 1 week ago* (last edited 1 week ago)

This was 15 years ago and I was only on that team for a year so some details are fuzzy. I just remember the odd length filename distinctly. We never found a pattern, not that we looked super hard. We did check the usual suspects like Base64 encoding and big vs little endian and such but nothing lined up. The file would just be garbled nonsense. No whitespace and every character under the sun in a massive block.