Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Core dump in C03traps.zsh
- X-seq: zsh-workers 20575
- From: Vin Shelton <acs@xxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Core dump in C03traps.zsh
- Date: Tue, 23 Nov 2004 10:42:17 -0500
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: Teradyne, Inc
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]
Messages sorted by:
Reverse Date,
Date,
Thread,
Author