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
-
Yeah. I'm probably going to find something very small and context-dependent and kick myself for a week, honestly. XD
-
That's usually how it goes :3 it helps me to get up and walk away from it for a bit
-
Yep. I did. try is absolutely -1. Im dealing with a multiple-forked process which is where I think my major issue is arising. Probably just a very simple issue with control flow.
-
spl020438y@Romulus10 can you breakpoint it at the if? Tried disassembling the code at that point?
-
You know what I'm a complete moron. It's a null pointer segmentation fault. It had nothing to do with the if.
-
spl020438y@Romulus10 Imagine an OS where page 0 was mapped so a NULL pointer dereference didn't segfault! Even worse.... :)
Try = -1
if (try == -1) {
Do this
}
My code ends up not triggering the if.
undefined