We had an issue for years where occasionally our backend database would fall over and we were just seeing strange corruption in the stored data sometimes.
Turns out that memcpy() didn’t handle data that was not aligned to a 4 byte boundary correctly in the 32 on 64 case. It took one of our sysadmins a very very long time to find it.
What blew me away is the idea that there can be a bug in something that is used literally everywhere all the time.
In addition, there was a pull request with a fix that someone had written that got ignored for years that we found. We just applied the diff in the pull request and it fixed our issues. The fix was eventually applied upstream a few years later.