Notorious software bug was killing people 40 years ago — at least three people died after radiation doses that were 100x too strong from the buggy Therac-25 radiation therapy machine (www.tomshardware.com)
from throws_lemy@reddthat.com to tech@programming.dev on 22 Sep 04:44
https://reddthat.com/post/50573492

#tech

threaded - newest

memfree@piefed.social on 22 Sep 05:52 next collapse

We learned this in ‘Computer Science 101’. It WAS tested before use, but the issue was missed because when the machine was initially tested, no one was particularly fast at using it.

An experienced operator could edit treatment parameters so fast that the software skipped a safety check due to a ‘race condition’ between the input handler and the radiation beam logic.

FartMaster69@lemmy.dbzer0.com on 22 Sep 07:10 collapse

It’s a great example of the need for external hardware safeties as well, since there should have been no scenario where the machine was capable of outputting deadly doses regardless of what the software says.

Asetru@feddit.org on 22 Sep 13:27 collapse

That’s not necessarily true. You could imagine rest runs (without people in there, obviously) where you want the thing to quickly emit a lot of energy.

bitcrafter@programming.dev on 22 Sep 13:55 next collapse

You could imagine rest runs (without people in there, obviously) where you want the thing to quickly emit a lot of energy.

I find it concerning that the machine can only rest when it emits a lot of energy.

Asetru@feddit.org on 22 Sep 14:08 collapse

Test. Damn. Test runs.

FartMaster69@lemmy.dbzer0.com on 22 Sep 18:10 collapse

What would you be testing there, how effectively it could kill someone?

Asetru@feddit.org on 22 Sep 19:34 collapse

The machine itself?

FartMaster69@lemmy.dbzer0.com on 22 Sep 21:06 collapse

If it’s outputting lethal doses in the test run surely it’s failed the test!?!

Asetru@feddit.org on 24 Sep 04:46 collapse

If you want to test the x-ray tube you might want to run it at levels not used during regular operations.

FartMaster69@lemmy.dbzer0.com on 24 Sep 07:04 collapse

For what purpose? What are you testing about it?

Asetru@feddit.org on 24 Sep 19:55 collapse

Calibration? Performance validation? Like “the tube should behave like this and that if you push immediately thought many watts through it, so let’s do it within half an hour instead of having it emit low doses for half a week so we can use it again more quickly”. I dunno, I don’t build x-ray machines, but I think there may be use cases for machines to run outside regular parameters during edge case testing.

FartMaster69@lemmy.dbzer0.com on 24 Sep 20:04 collapse

If you don’t know what the use case would even be why are you insisting a murder the patient mode should be included?

Bane_Killgrind@lemmy.dbzer0.com on 24 Sep 20:06 collapse

Confidence!

entwine@programming.dev on 22 Sep 14:07 next collapse

My (expensive) Frigidaire microwave has a feature where you can ‘add 5 seconds’ to the timer by pressing a button on the touch screen. However, if you press it when there’s less than 5 seconds left, the timer display freezes and it doesn’t add any extra time. This shit infuriates me like you wouldn’t believe. Either they’re so lazy/incompetent that they didn’t test this one edge case, or they did but didn’t care enough to fix it. If I wasn’t a programmer, I probably wouldn’t be bothered by it, but seeing such sloppy code seriously pisses me off. A fucking unpaid intern could fix that.

My head would probably explode if someone I loved was killed by a software bug. This is why I’m terrified of people trying to shove AI into every product. 99% of these people don’t know what the fuck they’re doing, and even the experts who created the model they’re licensing aren’t able to solve critical issues like hallucination.

Bebopalouie@lemmy.ca on 22 Sep 18:33 next collapse

They had machines that X-ray’d your foot to measure a foot size for shoes back in the 50’s. Luckily my mother was smart and would not let my brothers use it like all the other kids doing it every every five minutes.

Edit typo and found this

www.orau.org/health-physics-museum/…/index.html

captainlezbian@lemmy.world on 22 Sep 18:52 collapse

Ignoring the danger of radiation that just seems like such a gimmick

chunkystyles@sopuli.xyz on 23 Sep 04:11 collapse

youtu.be/7EQT1gVsE6I