zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: Timothy J Luoma <tjlists@bigfoot.com>, zsh-workers@sunsite.auc.dk
Subject: Re: weird bus errors with zsh-3.1.5-pws-20 ?
Date: Tue, 1 Jun 1999 05:30:24 +0000	[thread overview]
Message-ID: <990601053024.ZM9773@candle.brasslantern.com> (raw)
In-Reply-To: <199906010412.AAA01283@ocalhost>

On Jun 1, 12:12am, Timothy J Luoma wrote:
} Subject: weird bus errors with zsh-3.1.5-pws-20 ?
}
} zsh pws20 was giving me a bus error
} 
} Now I can't figure out why it stopped.

In another message you talked about intermittent problems with "cd .".
Are you sure your OS and filesystem are in good shape?

} Starting program: /usr/bin/zsh-3.1.5-pws-20
} [ioctl TIOCSPGRP failed in terminal_inferior: Invalid argument]

Hrm.  This could be related to the newly-added tty process group stuff in
exec.c and jobs.c; try running "zsh -x" ("run -x" in GDB) so you can see
whether zsh is processing any of your startup scripts at the time of the
crash.  (Assuming it starts crashing again.)  I'd like to find out soon
whether that's it, as I'm about to put that pgrp stuff into 3.0.6.

However, this looks more like the operating system is having trouble with
the pseudo-terminal (pty) on which you're running zsh.  There's no such
call as "terminal_inferior" anywhere in zsh, but ptys are organized as a
"master" device and a "slave" or inferior device.

But I don't know why either of those cases would produce this:

} Program generated(1): Memory access exception on address 0x1 (protection failure).

} If I try to 'strip zsh' it doesn't seem to have an effect -- should it?

All 'strip zsh' does is rip out the debugging symbols, which makes GDB
pretty useless.  You should only strip binaries if you need to conserve
the space occupied by the symbol table or are desperate to have it start
up a fraction of a second faster, and never do so if you expect to need
to diagnose a crash.

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


      reply	other threads:[~1999-06-01  5:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-01  4:12 Timothy J Luoma
1999-06-01  5:30 ` Bart Schaefer [this message]

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=990601053024.ZM9773@candle.brasslantern.com \
    --to=schaefer@candle.brasslantern.com \
    --cc=tjlists@bigfoot.com \
    --cc=zsh-workers@sunsite.auc.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).