zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: zsh-workers@sunsite.dk
Subject: 53completion.ztst (Re: zregexparse.ztst fails with latest CVS)
Date: Wed, 7 Feb 2001 02:58:02 +0000	[thread overview]
Message-ID: <1010207025802.ZM20171@candle.brasslantern.com> (raw)
In-Reply-To: <1010206202315.ZM4635@candle.brasslantern.com>

On Feb 6,  8:23pm, Bart Schaefer wrote:
} Subject: zregexparse.ztst fails with latest CVS
}
} It goes into an infinite loop getting an I/O error on read, according to
} strace.  This is with the standard default dynamic linkage.

This is on linux, redhat 5.2; sorry for not mentioning it sooner.

It's not the zregexparse test, it's the completion test.

With ZTST_verbose=1, I get to:

...
../../zsh-3.1.6/Test/52zregexparse.ztst: all tests successful.
Running test: directories and files

and then it hangs forever.  It appears that the zsh started on the zpty
slave has died, leaving zpty in a read loop getting I/O error.

A statically linked zsh passes all tests successfully.

I noticed that "make clean" doesn't remove the module .so files, so I
explicitly blew them away and rebuilt.  Makes no difference.

Tricking comptest into attaching an strace to the zsh on the pty, I find
this (after reams of output):

10480 open("/usr/src/local/zsh/zsh-3.1.6-dynamic/Test/../../zsh-3.1.6/Test/../Completion/Core/_setup", O_RDONLY|O_NOCTTY) = 7
10480 lseek(7, 0, SEEK_END)             = 1941
10480 lseek(7, 0, SEEK_SET)             = 0
10480 read(7, "#autoload\n\nlocal val nm=\"$com"..., 1941) = 1941
10480 close(7)                          = 0
10480 sigprocmask(SIG_BLOCK, [CHLD], [CHLD]) = 0
10480 sigprocmask(SIG_BLOCK, [CHLD], [CHLD]) = 0
10480 sigprocmask(SIG_UNBLOCK, [CHLD], [CHLD]) = 0
10480 sigprocmask(SIG_BLOCK, [CHLD], []) = 0
10480 sigprocmask(SIG_BLOCK, [CHLD], [CHLD]) = 0
10480 sigprocmask(SIG_BLOCK, [CHLD], [CHLD]) = 0
10480 sigprocmask(SIG_UNBLOCK, [CHLD], [CHLD]) = 0
10480 sigprocmask(SIG_BLOCK, [CHLD], []) = 0
10480 --- SIGSEGV (Segmentation fault) ---
10480 +++ killed by SIGSEGV +++

I was able to locate the core file, here's a partial stack trace:

(gdb) where 
#0  0x1d42 in ?? ()
#1  0x808a3a8 in dyn_boot_module (m=0x80d6fa0)
    at ../../zsh-3.1.6/Src/module.c:625
#2  0x808a525 in boot_module (m=0x80d6fa0) at ../../zsh-3.1.6/Src/module.c:677
#3  0x808b263 in load_module (name=0x80de630 "zsh/complist")
    at ../../zsh-3.1.6/Src/module.c:846


-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


  reply	other threads:[~2001-02-07  2:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-06 20:23 zregexparse.ztst fails with latest CVS Bart Schaefer
2001-02-07  2:58 ` Bart Schaefer [this message]
2001-02-07  4:28   ` 53completion.ztst (Re: zregexparse.ztst fails with latest CVS) Vin Shelton
2001-02-07  7:50   ` Andrej Borsenkow
2001-02-07 17:12     ` Bart Schaefer
2001-02-07 18:23       ` Solved " Bart Schaefer

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=1010207025802.ZM20171@candle.brasslantern.com \
    --to=schaefer@candle.brasslantern.com \
    --cc=zsh-workers@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).