From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8538 invoked from network); 9 Oct 2003 12:24:16 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 9 Oct 2003 12:24:16 -0000 Received: (qmail 20143 invoked by alias); 9 Oct 2003 12:23:57 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6667 Received: (qmail 20130 invoked from network); 9 Oct 2003 12:23:57 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 9 Oct 2003 12:23:57 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [81.6.215.59] by sunsite.dk (MessageWall 1.0.8) with SMTP; 9 Oct 2003 12:23:57 -0000 Received: from localhost (localhost.happygiraffe.net [127.0.0.1]) by happygiraffe.net (Postfix) with ESMTP id 7C062B843; Thu, 9 Oct 2003 13:23:56 +0100 (BST) Received: from happygiraffe.net ([127.0.0.1]) by localhost (ppe.happygiraffe.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25662-05; Thu, 9 Oct 2003 13:23:56 +0100 (BST) Received: by happygiraffe.net (Postfix, from userid 1001) id F208AB83E; Thu, 9 Oct 2003 13:23:55 +0100 (BST) Date: Thu, 9 Oct 2003 13:23:55 +0100 To: Mads Martin Joergensen Cc: zsh-users@sunsite.dk Subject: Re: Debugging a test Message-ID: <20031009122355.GA26014@ppe.happygiraffe.net> References: <20031009121008.GD28237@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031009121008.GD28237@suse.de> User-Agent: Mutt/1.5.4i From: dom@happygiraffe.net (Dominic Mitchell) X-Virus-Scanned: by amavisd-new at happygiraffe.net On Thu, Oct 09, 2003 at 02:10:08PM +0200, Mads Martin Joergensen wrote: > Hello people, > > 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. -Dom