From: Vin Shelton <acs@alumni.princeton.edu>
To: zsh-workers@sunsite.dk
Subject: Core dump in C03traps.zsh
Date: Tue, 23 Nov 2004 10:42:17 -0500 [thread overview]
Message-ID: <545zn18inc6.fsf@alumni.princeton.edu> (raw)
Building from latest CVS sources, there are core dumps in test C03 on
Solaris 5.5 and 5.8. Here is verbose output from a 5.5 run:
cd Test ; make check
make[1]: Entering directory `/u/sheltonv/software/SunOS-5.5/build/zsh-2004-11-23/Test'
if test -n "cc"; then \
cd .. && DESTDIR= \
make MODDIR=`pwd`/Test/Modules install.modules > /dev/null; \
fi
mkdir /u/sheltonv/software/SunOS-5.5/build/zsh-2004-11-23/Test/Modules
mkdir /u/sheltonv/software/SunOS-5.5/build/zsh-2004-11-23/Test/Modules/zsh
mkdir /u/sheltonv/software/SunOS-5.5/build/zsh-2004-11-23/Test/Modules/zsh/net
for f in /u/sheltonv/software/SunOS-5.5/src/zsh-2004-11-23/Test/C03*.ztst; do \
ZTST_exe=../Src/zsh \
../Src/zsh +Z -f /u/sheltonv/software/SunOS-5.5/src/zsh-2004-11-23/Test/ztst.zsh $f; \
done
/u/sheltonv/software/SunOS-5.5/src/zsh-2004-11-23/Test/C03traps.ztst: starting.
ZTST_getsect: read section name: prep
ZTST_getchunk: read code chunk:
setopt localtraps
mkdir traps.tmp && cd traps.tmp
ZTST_execchunk: status 0
ZTST_getchunk: read code chunk:
ZTST_getsect: read section name: test
ZTST_test: looking for new test
ZTST_test: examining line:
ZTST_test: examining line:
fn1() {
ZTST_getchunk: read code chunk:
fn1() {
trap 'print EXIT1' EXIT
fn2() { trap 'print EXIT2' EXIT; }
fn2
}
fn1
ZTST_test: examining line:
>EXIT2
ZTST_getredir: read redir for '>':
EXIT2
EXIT1
ZTST_test: examining line:
Running test: Nested `trap ... EXIT'
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.10721, output: /tmp/zsh.ztst.out.10721, error: /tmp/zsh.ztst.terr.10721
ZTST_execchunk: status 0
ZTST_test: test produced standard output:
EXIT2
EXIT1
ZTST_test: and standard error:
Test successful.
ZTST_test: looking for new test
ZTST_test: examining line:
ZTST_test: examining line:
fn1() {
ZTST_getchunk: read code chunk:
fn1() {
TRAPEXIT() { print EXIT1; }
fn2() { TRAPEXIT() { print EXIT2; }; }
fn2
}
fn1
ZTST_test: examining line:
>EXIT2
ZTST_getredir: read redir for '>':
EXIT2
EXIT1
ZTST_test: examining line:
Running test: Nested TRAPEXIT
ZTST_test: expecting status: 0
Input: /tmp/zsh.ztst.in.10721, output: /tmp/zsh.ztst.out.10721, error: /tmp/zsh.ztst.terr.10721
Segmentation Fault - core dumped
make[1]: [check] Error 139 (ignored)
rm -rf Modules .zcompdump
make[1]: Leaving directory `/u/sheltonv/software/SunOS-5.5/build/zsh-2004-11-23/Test'
HTH,
Vin
--
In a minute there is time
For decisions and revisions which a minute will reverse. T.S. Eliot
[URL: http://www.cs.amherst.edu/~ccm/prufrock.html]
next reply other threads:[~2004-11-23 15:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-23 15:42 Vin Shelton [this message]
2004-11-23 16:02 ` Peter Stephenson
2004-11-23 16:54 ` Vin Shelton
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=545zn18inc6.fsf@alumni.princeton.edu \
--to=acs@alumni.princeton.edu \
--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).