this post was submitted on 20 Sep 2024
290 points (96.8% liked)

Programmer Humor

32396 readers
1646 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
290
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 

This happend to me right noww as I tried to write a gui task manager for the GNU/Linux OS

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 18 points 1 month ago (19 children)

How are you crashing your system?! Crashing program sure, but the entire system?

[–] [email protected] 21 points 1 month ago (10 children)

Try it out on your own system.

:(){
 :|:&
};:

It's totally possible

[–] [email protected] 10 points 1 month ago* (last edited 1 month ago) (9 children)

Doesn't explain OPs task management example. And won't crash the kernel, just make things unresponsive

[–] [email protected] 2 points 1 month ago (1 children)

There's this game "HyperRougue". Run it on Arch.

hyperrogue-git version 13.0d.r60.g27fb2d92-1

Go to settings -> 3D configuration -> projection -> projection type -> . Cycle through the projection types. One of them causes something good enough to call a crash.

I don't remember anymore if it was just a display driver crash or a kernel crash and I haven't updated to a newer version (which might have fixed it).

[–] [email protected] 1 points 1 month ago (1 children)

Doesn't even startup on my box, but doesn't crash the kernel or system either, just regular application crash

[–] [email protected] 1 points 1 month ago

Doesn’t even startup on my box,

It needs to startup and then go to that point (after you select the projection) to cause the crash.
It definitely caused something other than the application to get into an invalid state. Which is why I am apprehensive about trying it out again to answer your comment. Probably was the display driver, which is why it didn't just turn off after that.

load more comments (7 replies)
load more comments (7 replies)
load more comments (15 replies)