From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8357 invoked from network); 9 Oct 2003 12:51:37 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 9 Oct 2003 12:51:37 -0000 Received: (qmail 4391 invoked by alias); 9 Oct 2003 12:51:19 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6668 Received: (qmail 4354 invoked from network); 9 Oct 2003 12:51:19 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 9 Oct 2003 12:51:19 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [195.135.220.2] by sunsite.dk (MessageWall 1.0.8) with SMTP; 9 Oct 2003 12:51:18 -0000 Received: from Hermes.suse.de (Hermes.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id 02FFD16CD0DB; Thu, 9 Oct 2003 14:50:45 +0200 (CEST) Date: Thu, 9 Oct 2003 14:50:44 +0200 From: Mads Martin Joergensen To: Dominic Mitchell Cc: zsh-users@sunsite.dk Subject: Re: Debugging a test Message-ID: <20031009125044.GC25849@suse.de> References: <20031009121008.GD28237@suse.de> <20031009122355.GA26014@ppe.happygiraffe.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031009122355.GA26014@ppe.happygiraffe.net> User-Agent: Mutt/1.5.4i * Dominic Mitchell [Oct 09. 2003 14:24]: > > When running V01zmodload.ztst in an environment with a profiling enabled > > gcc, 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. -- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogical, with just a little bit more effort?" -- A. P. J.