Where did my segfault go?

39 points by rmpr


drs

The other thing that really trips me up is that modern Linux distros default to core dumps off. There's a command to set it back on with ulimit -c unlimited but even then the core file is not likely to be in the same directory as the executable (I feel like systemd moves them somewhere but I'm not sure). This is one thing that I really like about OpenBSD (core dumps on by default, same directory as executable) and wish this was the default in Linux distros. Because of these changes, now when a crash happens I usually just have to rerun the executable inside gdb.