Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zsh-4.0.7 memory fault in IRIX 6.5
- X-seq: zsh-workers 19049
- From: Joachim Backes <backes@xxxxxxxxxxxxxx>
- To: zsh-workers <zsh-workers@xxxxxxxxxx>
- Subject: zsh-4.0.7 memory fault in IRIX 6.5
- Date: Tue, 09 Sep 2003 08:16:55 +0200 (CEST)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: University of Kaiserslautern, Computer Center [Supercomputing division]
- Reply-to: Joachim Backes <backes@xxxxxxxxxxxxxx>
- Sender: backes@xxxxxxxxxxxxxx
Hi,
having problems with zsh-4.0.7 (and earlier) on IRIX-6.5:
if I have an (very old) /etc/zshenv with the contents
setopt shwordsplit
then zsh dies directly after start with "memory fault". The reason
seems to be the (invalid ??) contents of /etc/zshenv.
I made a system trace of zsh and got the following (the first lines
are omitted) result:
...
18mS[ 3] : ioctl(10, TIOCGSID, 0x7ffb7de0) OK
18mS[ 3] : getsid(0) = 8340897
18mS[ 3] : ioctl(10, TIOCSPGRP, 8971885) OK
18mS[ 3] : sigprocmask(SIG_UNBLOCK, [SIGINT SIGQUIT], [<none>]) OK
19mS[ 3] : brk(0x100b8000) OK
19mS[ 3] : stat("/etc/zshenv.zwc", 0x7ffb7c50) errno = 2 (No such file or directory)
19mS[ 3] : stat("/etc/zshenv", 0x7ffb7ce8) OK
19mS[ 3] : open("/etc/zshenv", O_RDONLY|O_NOCTTY, 0) = 3
19mS[ 3] : fcntl(3, F_DUPFD, 10) = 11
19mS[ 3] : close(3) OK
19mS[ 3] : fstat(11, 0x7ffb7d10) OK
19mS[ 3] : sigaction(SIGINT, {flags=0 handler=0x1006b0d0 mask=[<none>]}, 0) OK
19mS[ 3] : fstat(11, 0x7ffb6b10) OK
19mS[ 3] : ioctl(11, __OLD_TCGETA, 0x7ffb6ac0) errno = 25 (Inappropriate I/O control opera
tion)
19mS[ 3] : read(11, "setopt shwordsplit\n", 4096) = 19
20mS[ 3] : sigprocmask(SIG_BLOCK, [SIGCLD], [<none>]) OK
20mS[ 3] : received signal SIGSEGV
An empty /etc/zshenv makes no trouble.
Regards
Joachim Backes
--
Joachim Backes <backes@xxxxxxxxxxxxxx>
Technical University of Kaiserslautern,
Computer Center, High Performance Computing,
D-67653 Kaiserslautern, PO Box 3049, Germany
--------------------------------------------------
Phone: +49-631-205-2438, FAX: +49-631-205-3056
http://hlrwm.rhrk.uni-kl.de/home/staff/backes.html
Messages sorted by:
Reverse Date,
Date,
Thread,
Author