zsh-workers
 help / color / mirror / code / Atom feed
From: Joachim Backes <backes@rhrk.uni-kl.de>
To: zsh-workers <zsh-workers@sunsite.dk>
Subject: zsh-4.0.7 memory fault in IRIX 6.5
Date: Tue, 09 Sep 2003 08:16:55 +0200 (CEST)	[thread overview]
Message-ID: <XFMail.20030909081655.backes@rhrk.uni-kl.de> (raw)

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@rhrk.uni-kl.de>
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  


             reply	other threads:[~2003-09-09  6:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-09  6:16 Joachim Backes [this message]
2003-09-09  6:30 Joachim Backes
2003-09-09 16:15 ` 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=XFMail.20030909081655.backes@rhrk.uni-kl.de \
    --to=backes@rhrk.uni-kl.de \
    --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).