Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

bug report (shell crashing)



I am having a problem with my desktop session crashing on me every 
so often when memory conditions are low (heavy swapping).  Sometimes
under these conditions, my session crashes and I have to log back
in.  Each time, I am left with a core file generated by zsh in the
directory I was working in.  I never used to have this problem, but
have since I started using zsh 3.0.1 and now 3.0.2.  I am running
Solaris 2.5.1_x86 and CDE 1.0.2.  Anyone have similar problems?

A backtrace with gdb doesn't seem to produce much as you can see
below.  I will save the core file if anyone is interested in
analyzing it.  I have also attached output from the reporter
script.  Please e-mail me directly if you need more
information as I am not on the zsh-workers list.  Thanks.
ashanti:~> gdb /usr/local/bin/zsh /home/jason/temp2/core
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (i386-unknown-solaris2.5), Copyright 1996 Free Software Foundation, Inc...
(no debugging symbols found)...
Core was generated by `zsh'.
Program terminated with signal 11, Segmentation fault.
#0  0xb9268d25 in ?? ()
(gdb) where
#0  0xb9268d25 in ?? ()
#1  0x80798c1 in handler ()
#2  0x800bf56d in ?? ()
#3  0xffffffff in ?? ()
#4  0xdc2ea8af in ?? ()
Cannot access memory at address 0xd61eaed3.
(gdb) 
 

# START zsh saveset
# uname:  SunOS ashanti 5.5.1 Generic i86pc i386 i86pc

# Aliases.
 
alias run-help=man
alias which-command=whence
 
# Key bindings.

bindkey -r "^@"
bindkey -r "^D"
bindkey -r "^E"
bindkey -r "^F"
bindkey -r "^G"
bindkey -r "^H"
bindkey -r "^I"
bindkey -r "^J"
bindkey -r "^K"
bindkey -r "^L"
bindkey -r "^M"
bindkey -r "^Q"
bindkey -r "^R"
bindkey -r "^S"
bindkey -r "^T"
bindkey -r "^U"
bindkey -r "^V"
bindkey -r "^W"
bindkey -r "\e"
bindkey -r "^?"
bindkey -r "\M- "
bindkey -r "\M-!"
bindkey -r "\M-\\""
bindkey -r "\M-#"
bindkey -r "\M-$"
bindkey -r "\M-%"
bindkey -r "\M-&"
bindkey -r "\M-'"
bindkey -r "\M--"
bindkey -r "\M-."
bindkey -r "\M-/"
bindkey -r "\M-:"
bindkey -r "\M-;"
bindkey -r "\M-<"
bindkey -r "\M-="
bindkey -r "\M->"
bindkey -r "\M-?"
bindkey -r "\M-@"
bindkey -r "\M-A"
bindkey -r "\M-B"
bindkey -r "\M-C"
bindkey -r "\M-D"
bindkey -r "\M-E"
bindkey -r "\M-F"
bindkey -r "\M-G"
bindkey -r "\M-H"
bindkey -r "\M-L"
bindkey -r "\M-M"
bindkey -r "\M-N"
bindkey -r "\M-O"
bindkey -r "\M-P"
bindkey -r "\M-Q"
bindkey -r "\M-R"
bindkey -r "\M-S"
bindkey -r "\M-T"
bindkey -r "\M-U"
bindkey -r "\M-V"
bindkey -r "\M-W"
bindkey -r "\M-_"
bindkey -r "\M-`"
bindkey -r "\M-a"
bindkey -r "\M-b"
bindkey -r "\M-c"
bindkey -r "\M-d"
bindkey -r "\M-e"
bindkey -r "\M-f"
bindkey -r "\M-g"
bindkey -r "\M-h"
bindkey -r "\M-l"
bindkey -r "\M-m"
bindkey -r "\M-n"
bindkey -r "\M-o"
bindkey -r "\M-p"
bindkey -r "\M-q"
bindkey -r "\M-r"
bindkey -r "\M-s"
bindkey -r "\M-t"
bindkey -r "\M-u"
bindkey -r "\M-v"
bindkey -r "\M-w"
bindkey -r "\M-x"
bindkey -r "\M-y"
bindkey -r "\M-z"
bindkey -r "\M-{"
bindkey -r "\M-|"
bindkey -r "\M-}"
bindkey -r "\M-~"
bindkey -r "\M-^?"
bindkey -r "\e"
bindkey -r "\e[A"
bindkey -r "\e[B"
bindkey -r "\e[C"
bindkey -r "\e[D"

bindkey "^@"	undefined-key
bindkey "^D"	list-choices
bindkey "^E"	self-insert
bindkey "^F"	self-insert
bindkey "^G"	list-expand
bindkey "^H"	vi-backward-delete-char
bindkey "^I"	expand-or-complete
bindkey "^J"	accept-line
bindkey "^K"	self-insert
bindkey "^L"	clear-screen
bindkey "^M"	accept-line
bindkey "^Q"	vi-quoted-insert
bindkey "^R"	redisplay
bindkey "^S"	self-insert
bindkey "^T"	self-insert
bindkey "^U"	vi-kill-line
bindkey "^V"	vi-quoted-insert
bindkey "^W"	vi-backward-kill-word
bindkey "\e"	prefix
bindkey "^?"	backward-delete-char
bindkey "\M- "	expand-history
bindkey "\M-!"	expand-history
bindkey "\M-\\""	quote-region
bindkey "\M-#"	undefined-key
bindkey "\M-$"	spell-word
bindkey "\M-%"	undefined-key
bindkey "\M-&"	undefined-key
bindkey "\M-'"	quote-line
bindkey "\M--"	neg-argument
bindkey "\M-."	insert-last-word
bindkey "\M-/"	undefined-key
bindkey "\M-:"	undefined-key
bindkey "\M-;"	undefined-key
bindkey "\M-<"	beginning-of-buffer-or-history
bindkey "\M-="	undefined-key
bindkey "\M->"	end-of-buffer-or-history
bindkey "\M-?"	which-command
bindkey "\M-@"	undefined-key
bindkey "\M-A"	accept-and-hold
bindkey "\M-B"	backward-word
bindkey "\M-C"	capitalize-word
bindkey "\M-D"	kill-word
bindkey "\M-E"	undefined-key
bindkey "\M-F"	forward-word
bindkey "\M-G"	get-line
bindkey "\M-H"	run-help
bindkey "\M-L"	down-case-word
bindkey "\M-M"	undefined-key
bindkey "\M-N"	history-search-forward
bindkey "\M-O"	undefined-key
bindkey "\M-P"	history-search-backward
bindkey "\M-Q"	push-line
bindkey "\M-R"	undefined-key
bindkey "\M-S"	spell-word
bindkey "\M-T"	transpose-words
bindkey "\M-U"	up-case-word
bindkey "\M-V"	undefined-key
bindkey "\M-W"	copy-region-as-kill
bindkey "\M-_"	insert-last-word
bindkey "\M-`"	undefined-key
bindkey "\M-a"	accept-and-hold
bindkey "\M-b"	backward-word
bindkey "\M-c"	capitalize-word
bindkey "\M-d"	kill-word
bindkey "\M-e"	undefined-key
bindkey "\M-f"	forward-word
bindkey "\M-g"	get-line
bindkey "\M-h"	run-help
bindkey "\M-l"	down-case-word
bindkey "\M-m"	undefined-key
bindkey "\M-n"	history-search-forward
bindkey "\M-o"	undefined-key
bindkey "\M-p"	history-search-backward
bindkey "\M-q"	push-line
bindkey "\M-r"	undefined-key
bindkey "\M-s"	spell-word
bindkey "\M-t"	transpose-words
bindkey "\M-u"	up-case-word
bindkey "\M-v"	undefined-key
bindkey "\M-w"	copy-region-as-kill
bindkey "\M-x"	execute-named-cmd
bindkey "\M-y"	yank-pop
bindkey "\M-z"	execute-last-named-cmd
bindkey "\M-{"	undefined-key
bindkey "\M-|"	vi-goto-column
bindkey "\M-}"	undefined-key
bindkey "\M-~"	undefined-key
bindkey "\M-^?"	backward-kill-word
bindkey "\e"	vi-cmd-mode
bindkey "\e[A"	up-line-or-history
bindkey "\e[B"	down-line-or-history
bindkey "\e[C"	forward-char
bindkey "\e[D"	backward-char

# Completions.

compctl -b bindkey
compctl -c builtin
compctl -v export
compctl -P + -g '/home/jason/Mail/*' folder
compctl -P + -g '/home/jason/Mail/*' folders
compctl -P + -g '/home/jason/Mail/*' refile
compctl -P + -g '/home/jason/Mail/*' rmm
compctl -P + -g '/home/jason/Mail/*' scan
compctl -o setopt
compctl -P + -g '/home/jason/Mail/*' show
compctl -P + -g '/home/jason/Mail/*' sortm
compctl -v typeset
compctl -v unset
compctl -o unsetopt
compctl -v vared
compctl -c which
compctl -C -c
compctl -D -f
compctl -T

# Undefined functions.


# Defined functions.

chpwd () {
	print -Pn ']2;%~'
}

# Limits.

limit datasize        512MB
limit stacksize       8MB
limit descriptors     64

# Non-array variables.

TERMCAP=''
TERM='xterm'
\'#\'="0"
\'$\'="9472"
\'?\'="1"
AB_CARDCATALOG="/usr/dt/share/answerbooks/C/ab_cardcatalog"
ARCH="SOLARIS"
ARGC="0"
AWK="nawk"
BAUD="9600"
CDPATH="\'\'"
COLUMNS="92"
CPP="/usr/ccs/lib/cpp"
DISPLAY=":0.0"
DTAPPSEARCHPATH="/home/jason/.dt/appmanager:/etc/dt/appconfig/appmanager/%L:/etc/dt/appconfig/appmanager/C:/usr/dt/appconfig/appmanager/%L:/usr/dt/appconfig/appmanager/C"
DTDATABASESEARCHPATH="/home/jason/.dt/types,/etc/dt/appconfig/types/%L,/etc/dt/appconfig/types/C,/usr/dt/appconfig/types/%L,/usr/dt/appconfig/types/C"
DTHELPSEARCHPATH="/home/jason/.dt/help/jason-ashanti-0/%H:/home/jason/.dt/help/jason-ashanti-0/%H.sdl:/home/jason/.dt/help/jason-ashanti-0/%H.hv:/home/jason/.dt/help/%H:/home/jason/.dt/help/%H.sdl:/home/jason/.dt/help/%H.hv:/usr/dt/appconfig/help/%L/%H:/usr/dt/appconfig/help/%L/%H.sdl:/usr/dt/appconfig/help/%L/%H.hv:/usr/dt/appconfig/help/C/%H:/usr/dt/appconfig/help/C/%H.sdl:/usr/dt/appconfig/help/C/%H.hv"
DTSCREENSAVERLIST="\'StartDtscreenSwarm StartDtscreenQix     StartDtscreenFlame StartDtscreenHop StartDtscreenImage StartDtscreenLife     StartDtscreenRotor StartDtscreenPyro StartDtscreenWorm StartDtscreenBlank\'"
DTUSERSESSION="jason-ashanti-0"
EDITOR="vi"
EGID="10"
ERRNO="0"
EUID="100"
FCEDIT="vi"
FIGNORE="\'\'"
FPATH="\'\'"
GID="10"
GS_LIB="/usr/openwin/lib/X11/fonts/Type1:/usr/openwin/lib/X11/fonts/Type3"
HELPPATH="/usr/openwin/lib/locale:/usr/openwin/lib/help"
HISTCHARS="\'!^#\'"
HISTSIZE="30"
HOME="/home/jason"
HOST="ashanti"
KEYTIMEOUT="40"
LANG="C"
LD_LIBRARY_PATH="/usr/local/fresco/lib:/usr/local/lib:/usr/openwin/lib:/usr/local/X11R5/lib/lib:/usr/X11/lib:/usr/lib:/usr/dt/lib:/usr/local/mh/lib"
LINENO="329"
LINES="50"
LISTMAX="100"
LOGCHECK="60"
LOGNAME="jason"
MACHTYPE="i386"
MAIL="/var/mail/jason"
MAILCHECK="60"
MAILPATH="\'\'"
MANPATH="/usr/man:/usr/dt/share/man:/usr/share/man:/usr/local/man:/home/jason/man-pages:/opt/SUNWwabi/man:/usr/openwin/man:/usr/proc/man:/usr/contrib/man:/usr/X11/man"
NAME="\'Jason R. Mastaler\'"
NULLCMD="cat"
OLDPWD="/usr/local/SourceTrees"
OPENWINHOME="/usr/openwin"
OPTARG="\'\'"
OPTIND="1"
OSTYPE="solaris2.5.1"
OW_WINDOW_MANAGER="olvwm"
PAGER="/usr/bin/more"
PATH=".:/home/jason/perl:/home/jason/scripts:/home/jason/bin:/home/jason/games:/usr/bin:/usr/local/bin:/usr/ccs/bin:/etc:/sbin:/usr/sbin:/opt/SUNWwabi/bin:/usr/dt/bin:/usr/proc/bin:/usr/openwin/bin:/usr/local/mh/bin:/usr/local/X11/bin:/bin:/usr/contrib/bin:/usr/games:/usr/X11/bin:/usr/local/fresco/bin"
PGPPATH="/home/jason/.pgp"
POSTEDIT="\'\'"
PPID="9451"
PROMPT="\'%m:%~> \'"
PROMPT2="\'%_> \'"
PROMPT3="\'?# \'"
PROMPT4="\'+ \'"
PS1="\'%m:%~> \'"
PS2="\'%_> \'"
PS3="\'?# \'"
PS4="\'+ \'"
PSVAR="\'\'"
PWD="/usr/local/SourceTrees/zsh-3.0.2"
RANDOM="3681"
READNULLCMD="more"
RPROMPT="\'\'"
RPS1="\'\'"
SECONDS="1126"
SESSION_SVR="ashanti"
SHELL="/usr/local/bin/zsh"
SHLVL="1"
SPROMPT="\'zsh: correct \'\\'\'%R\'\\'\' to \'\\'\'%r\'\\'\' [nyae]? \'"
TEXFORMATS="/usr/local/lib/texmf/ini"
TIMEFMT="\'%J  %U user %S system %P cpu %*E total\'"
TMPPREFIX="/tmp/zsh"
TTY="/dev/pts/11"
TTYIDLE="-1"
TZ="US/Eastern"
UID="100"
USER="jason"
USERNAME="jason"
VENDOR="pc"
VISUAL="/usr/local/bin/emacs"
WATCH="@localhost:@lubaantun:@ashanti"
WATCHFMT="\'%n has %a %l from %m.\'"
WINDOWID="83886093"
WORDCHARS="\'*?_-.[]~=/&;!#$%^(){}<>\'"
XFILESEARCHPATH="/usr/openwin/lib/locale/%L/%T/%N%S:/usr/openwin/lib/%T/%N%S"
XMBINDDIR="/usr/dt/lib/bindings"
XMICONBMSEARCHPATH="/home/jason/.dt/icons/%B%M.bm:/home/jason/.dt/icons/%B%M.pm:/home/jason/.dt/icons/%B:/etc/dt/appconfig/icons/%L/%B%M.bm:/etc/dt/appconfig/icons/%L/%B%M.pm:/etc/dt/appconfig/icons/%L/%B:/etc/dt/appconfig/icons/C/%B%M.bm:/etc/dt/appconfig/icons/C/%B%M.pm:/etc/dt/appconfig/icons/C/%B:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B"
XMICONSEARCHPATH="/home/jason/.dt/icons/%B%M.pm:/home/jason/.dt/icons/%B%M.bm:/home/jason/.dt/icons/%B:/etc/dt/appconfig/icons/%L/%B%M.pm:/etc/dt/appconfig/icons/%L/%B%M.bm:/etc/dt/appconfig/icons/%L/%B:/etc/dt/appconfig/icons/C/%B%M.pm:/etc/dt/appconfig/icons/C/%B%M.bm:/etc/dt/appconfig/icons/C/%B:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B"
ZSH_NAME="zsh"
ZSH_VERSION="3.0.2"
dtstart_sessionlogfile="/dev/null"
each="\'unix"
histchars="\'!^#\'"
reporter_OSVersion="SunOS_5.5.1"
reporter_junkiequotes="no"
status="1"
str="\'SunOS ashanti 5.5.1 Generic i86pc i386 i86pc\'"
prompt='test%'

# Array variables.

argv=()
'*'=()
cdpath=()
fignore=()
fpath=()
mailpath=()
manpath=(/usr/man /usr/dt/share/man /usr/share/man /usr/local/man /home/jason/man-pages /opt/SUNWwabi/man /usr/openwin/man /usr/proc/man /usr/contrib/man /usr/X11/man)
path=(. /home/jason/perl /home/jason/scripts /home/jason/bin /home/jason/games /usr/bin /usr/local/bin /usr/ccs/bin /etc /sbin /usr/sbin /opt/SUNWwabi/bin /usr/dt/bin /usr/proc/bin /usr/openwin/bin /usr/local/mh/bin /usr/local/X11/bin /bin /usr/contrib/bin /usr/games /usr/X11/bin /usr/local/fresco/bin)
psvar=()
signals=(EXIT HUP INT QUIT ILL TRAP IOT EMT FPE KILL BUS SEGV SYS PIPE ALRM TERM USR1 USR2 CLD PWR WINCH URG POLL STOP TSTP CONT TTIN TTOU VTALRM PROF XCPU XFSZ WAITING LWP FREEZE THAW CANCEL RTMIN 38 39 40 41 42 43 RTMAX ZERR DEBUG)
watch=(@localhost @lubaantun @ashanti)

# Exported variables.

export TERMCAP
export TERM
export AB_CARDCATALOG=/usr/dt/share/answerbooks/C/ab_cardcatalog
export ARCH=SOLARIS
export DISPLAY=:0.0
export DTAPPSEARCHPATH=/home/jason/.dt/appmanager:/etc/dt/appconfig/appmanager/%L:/etc/dt/appconfig/appmanager/C:/usr/dt/appconfig/appmanager/%L:/usr/dt/appconfig/appmanager/C
export DTDATABASESEARCHPATH=/home/jason/.dt/types,/etc/dt/appconfig/types/%L,/etc/dt/appconfig/types/C,/usr/dt/appconfig/types/%L,/usr/dt/appconfig/types/C
export DTHELPSEARCHPATH=/home/jason/.dt/help/jason-ashanti-0/%H:/home/jason/.dt/help/jason-ashanti-0/%H.sdl:/home/jason/.dt/help/jason-ashanti-0/%H.hv:/home/jason/.dt/help/%H:/home/jason/.dt/help/%H.sdl:/home/jason/.dt/help/%H.hv:/usr/dt/appconfig/help/%L/%H:/usr/dt/appconfig/help/%L/%H.sdl:/usr/dt/appconfig/help/%L/%H.hv:/usr/dt/appconfig/help/C/%H:/usr/dt/appconfig/help/C/%H.sdl:/usr/dt/appconfig/help/C/%H.hv
export DTSCREENSAVERLIST='StartDtscreenSwarm StartDtscreenQix     StartDtscreenFlame StartDtscreenHop StartDtscreenImage StartDtscreenLife     StartDtscreenRotor StartDtscreenPyro StartDtscreenWorm StartDtscreenBlank'
export DTUSERSESSION=jason-ashanti-0
export EDITOR=vi
export GS_LIB=/usr/openwin/lib/X11/fonts/Type1:/usr/openwin/lib/X11/fonts/Type3
export HELPPATH=/usr/openwin/lib/locale:/usr/openwin/lib/help
export HOME=/home/jason
export HOST=ashanti
export LANG=C
export LD_LIBRARY_PATH=/usr/local/fresco/lib:/usr/local/lib:/usr/openwin/lib:/usr/local/X11R5/lib/lib:/usr/X11/lib:/usr/lib:/usr/dt/lib:/usr/local/mh/lib
export LOGNAME=jason
export MAIL=/var/mail/jason
export MAILCHECK=60
export MANPATH=/usr/man:/usr/dt/share/man:/usr/share/man:/usr/local/man:/home/jason/man-pages:/opt/SUNWwabi/man:/usr/openwin/man:/usr/proc/man:/usr/contrib/man:/usr/X11/man
export NAME='Jason R. Mastaler'
export OPENWINHOME=/usr/openwin
export OW_WINDOW_MANAGER=olvwm
export PAGER=/usr/bin/more
export PATH=.:/home/jason/perl:/home/jason/scripts:/home/jason/bin:/home/jason/games:/usr/bin:/usr/local/bin:/usr/ccs/bin:/etc:/sbin:/usr/sbin:/opt/SUNWwabi/bin:/usr/dt/bin:/usr/proc/bin:/usr/openwin/bin:/usr/local/mh/bin:/usr/local/X11/bin:/bin:/usr/contrib/bin:/usr/games:/usr/X11/bin:/usr/local/fresco/bin
export PGPPATH=/home/jason/.pgp
export PWD=/usr/local/SourceTrees/zsh-3.0.2
export SESSION_SVR=ashanti
export SHELL=/usr/local/bin/zsh
export SHLVL=1
export TERM=xterm
export TEXFORMATS=/usr/local/lib/texmf/ini
export TZ=US/Eastern
export USER=jason
export VISUAL=/usr/local/bin/emacs
export WINDOWID=83886093
export XFILESEARCHPATH=/usr/openwin/lib/locale/%L/%T/%N%S:/usr/openwin/lib/%T/%N%S
export XMBINDDIR=/usr/dt/lib/bindings
export XMICONBMSEARCHPATH=/home/jason/.dt/icons/%B%M.bm:/home/jason/.dt/icons/%B%M.pm:/home/jason/.dt/icons/%B:/etc/dt/appconfig/icons/%L/%B%M.bm:/etc/dt/appconfig/icons/%L/%B%M.pm:/etc/dt/appconfig/icons/%L/%B:/etc/dt/appconfig/icons/C/%B%M.bm:/etc/dt/appconfig/icons/C/%B%M.pm:/etc/dt/appconfig/icons/C/%B:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B
export XMICONSEARCHPATH=/home/jason/.dt/icons/%B%M.pm:/home/jason/.dt/icons/%B%M.bm:/home/jason/.dt/icons/%B:/etc/dt/appconfig/icons/%L/%B%M.pm:/etc/dt/appconfig/icons/%L/%B%M.bm:/etc/dt/appconfig/icons/%L/%B:/etc/dt/appconfig/icons/C/%B%M.pm:/etc/dt/appconfig/icons/C/%B%M.bm:/etc/dt/appconfig/icons/C/%B:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B
export dtstart_sessionlogfile=/dev/null

# Setopt.

setopt autolist
setopt listambiguous
setopt noclobber
setopt nolistbeep

# END zsh saveset


Messages sorted by: Reverse Date, Date, Thread, Author