Andrew Bell wrote:
On Tue, Jul 8, 2008 at 9:31 PM, James Gregory <james.jrg@xxxxxxxxx> wrote:4. Compile with gcc 4.2.3 (Ubuntu 64 bit), with optimization: my program freezes in a particular functionKill the process with some signal that will generate a core. This at least gives you a exact location of the hang, if you don't already know it.
I'll use this opportunity to mention Valgrind's memory checker. Andrew.