zsh-workers
 help / color / mirror / code / Atom feed
* Re: Bug in zsh-4.2.0-4?
       [not found] <20040420140702.GC3113@scowler.net>
@ 2004-04-20 14:32 ` Peter Stephenson
  0 siblings, 0 replies; only message in thread
From: Peter Stephenson @ 2004-04-20 14:32 UTC (permalink / raw)
  To: Ben Pearre, zsh-workers

int Adams wrote:
On Mon, Apr 19, 2004 at 07:27:00PM -0600, Ben Pearre wrote:
> Hi...  I'm running the latest debian unstable, including zsh 4.2.0-4.
> An instance of zsh will work fine for a while, and then start doing
> this on every command:
> 
> (0)# cd
> preexec:1: job table full
> precmd:1: job table full

It shouldn't be possible to get this error message unless the job table
has grown to a really silly size, indicating another problem.  I can't
see anything just by using your precmd and preexec and repeatedly
executing commands, but maybe there is some kind of race.

If you want to debug it, you could run gdb on zsh and set a break point
inside the function zfork() in exec.c where it it outputs the error
message you're seeing.  Then look at the variables maxjob, jobtabsize,
and if maxjob is large, the values of some entries of the table e.g.
jobtab[maxjob-1], jobtab[maxjob-2], ...

If you can get any more info, thanks.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-04-20 14:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20040420140702.GC3113@scowler.net>
2004-04-20 14:32 ` Bug in zsh-4.2.0-4? Peter Stephenson

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).