
13 May
2010
13 May
'10
2:13 a.m.
Aran Donohue
I have a program that I can reliably cause to hang. It's concurrent using STM, so I think it could be a deadlock or related issue. I also do some IO, so I think it could be blocking in a system call.
If it's the latter, 'strace' might help you. Use 'strace -p PID' to attach to a running process. Similarly, 'ltrace' can trace library calls (but probably less useful in this context?) (This is on Linux, but other OSes are likely to have similar tools.) -k -- If I haven't seen further, it is by standing in the footprints of giants