zsh-users
 help / color / mirror / code / Atom feed
From: Cosmo <cosmo@uk.ibm.com>
To: Mads Martin Joergensen <mmj@suse.de>
Cc: zsh-users@sunsite.dk
Subject: Re: Debugging a test
Date: Thu, 09 Oct 2003 14:21:41 +0100	[thread overview]
Message-ID: <3F8560E5.3080904@uk.ibm.com> (raw)
In-Reply-To: <20031009125044.GC25849@suse.de>

Mads Martin Joergensen wrote:
> 
> 
> 
> * Dominic Mitchell <dom@happygiraffe.net> [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.

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


      reply	other threads:[~2003-10-09 13:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-09 12:10 Mads Martin Joergensen
2003-10-09 12:23 ` Dominic Mitchell
2003-10-09 12:50   ` Mads Martin Joergensen
2003-10-09 13:21     ` Cosmo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F8560E5.3080904@uk.ibm.com \
    --to=cosmo@uk.ibm.com \
    --cc=mmj@suse.de \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).