Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: weird bus errors with zsh-3.1.5-pws-20 ?
- X-seq: zsh-workers 6407
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Timothy J Luoma <tjlists@xxxxxxxxxxx>, zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: weird bus errors with zsh-3.1.5-pws-20 ?
- Date: Tue, 1 Jun 1999 05:30:24 +0000
- In-reply-to: <199906010412.AAA01283@ocalhost>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author