strace is one of my favorite tools for debugging in Linux. If you've never used strace, it's a tool that prints (on stderr) the syst...