Mads Martin Joergensen wrote:
* Dominic Mitchell <dom@xxxxxxxxxxxxxxxx> [Oct 09. 2003 14:24]:When running V01zmodload.ztst in an environment with a profilingenabledgcc, zsh hangs burning 99.9% CPU. Adding an strace to the process gives no output at all. So I was wondering how to enable some kind of debug info to the module in order to have it e.g. print how far it gets, in order to nail down what causes the loop?If you've got it installed, try ltrace instead of strace.Same effect. Nothing happens, no output at all.
You're in a tight loop somewhere, not making any library or system calls. Attach to the process with a debugger and get a stack trace. Cosmo