What is a computer glitch?

301 viewsOtherTechnology

What is a computer glitch?

In: Technology

4 Answers

Anonymous 0 Comments

Something that hasn’t been mentioned yet is that the computer hardware itself could have a design flaw.

The humble computer chip is actually incredibly complex at a microscopic level. Modern processors have tens of billions of individual transistors, which are each placed by algorithms based on the high level descriptions engineers write.

Manufacturing faults happen all the time, but this is usually going to result in the chip dying or just not working, so it will be thrown out or returned early by a consumer.

Harder to trace issues are problems with the engineer’s design of this chip. I work in this field, and we spend literally years running millions of random simulations to try to catch all the possibilities these chips can face. But they’re so complicated that even this only scratches the surface of what can happen in the real world.

Let’s say a 4 year project ends up testing 1 billion test cases. Modern chips are so fast that it could exhaust every single one of those cases we ran in less than a second. So our testing needs to be intelligent and directed to try to catch all the weird cases.

But even then, issues still slip through the cracks. In the rare event that such a design issue goes undetected and unmitigated once it hits the market, it’s only a matter of time before it happens in the real world and starts causing issues.

These issues can range from data corruption to crashes to freezes to sudden shutdowns or even destruction of the chip (in the most extreme case).

What do design issues look like? A very common one is timing. Everything inside the chip is timed exactly, down to the nanosecond. We run simulations to verify expected timings, but that can still be wrong due to unaccounted-for conditions.

If this timing variation goes the wrong direction (faster than expected), it can cause parts of the chip to start doing things before it is actually ready. Kinda like putting ingredients into a dish at the wrong time. Say you accidentally put the onions in too late to your spaghetti, so they didn’t have time to sauté and now they’re raw and the spaghetti tastes different.

There can also be logical errors too. Unexpected scenarios in the inputs (what the software is asking to do) can cause anything to happen. This usually happens because the engineers received vague or incomplete specifications to make a design from.

A real life example of this could be a washing machine. You can get confused on the directions of which cleaners to put in which slots or during what part of the cycle. If you misread the directions and put bleach in the wrong box, then you may have just ruined all your clothes. Quality testing may not even discover this, because *of course* everybody knows what bleach does and that the triangle symbol means bleach!

You are viewing 1 out of 4 answers, click here to view all answers.