I'm posting this here for both future use by myself and in the hope it's usefull to anyone else.
Have you ever racked your brain to find that bug? You know, the bug that you can't find in the source code,
but which appears with deliberate consistency when your code is compiled and run.
Hacker, meet strace.
strace is a utility that allows you to trace system calls and signals for a given command and its arguments.
Full article is over at the Redhat Magazine