Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
uninitialised variables, malloc returning memory with your own process' memory garbage upon second allocation, missed dependencies in the makefile during recompile, not entering the erroneous code path the second time...
-
thatgirl1536yYup, that's me whenever i have a problem. I ask a friend's help, and while explaining i'm like: "umm, actually, i'm retarded. I know where the problem is". He laughs everytime xD
-
@thatgirl yea that too but you ever have perfectly valid looking code that only segfaults when you're alone? If anyone, anyone at all watches, it always works?
It's like it knows! -
joykill3406yThis is why we have rubber ducks... To avoid the shameful skint the Co worker part.. Just ask your ducky
-
@joykill you'd think right? C code especially has some magical way of knowing if there is another living being watching.
If(living observers>1) {
//Operate as expected
}
Else {
//All the Errors!
Memcpy(&kernel_owned, &null_ptr, 1000000000);
}
Related Rants
If ever your code breaks, just utter these words and it will magically fix itself:
"Wtf. Hey [coworker name], Can you sanity check this code? I don't know why this segfaults! It looks fine but you just run it and it bre- oh wait... I swear it didn't work a minute ago."
rant
i swear i don't have a problem
every time
magic
segfault