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

BUG REPORT



Hi,

When I use my own webServer, client may send some [CR] or [LF]
or '\0' to the webServer, and after I closing my webServer,
I find zsh get a Error here:
"Error: near line 584: database is locked"
I don't think it's my own webServer's or vscode's bug,so
The most likely situation is that zsh does not process certain
characters. And it may be related to zsh history because it involve
 the database?

I don't know the reason for this, thanks for any comments.

[zsh info]
# START zsh saveset
# uname:  Linux ADLADL 5.11.1-arch1-1 #1 SMP PREEMPT Tue, 23 Feb 2021
14:05:30 +0000 x86_64 GNU/Linux

# Aliases.

alias run-help=man
alias which-command=whence

# Key bindings.

bindkey -N command
bindkey -N emacs
bindkey -N isearch
bindkey -A viins main
bindkey -N vicmd
bindkey -N viins
bindkey -N viopp
bindkey -N visual

bindkey:bindkey:5: no such keymap `--'

bindkey:bindkey:5: no such keymap `--'

bindkey:bindkey:5: no such keymap `--'

bindkey:bindkey:5: no such keymap `--'

bindkey:bindkey:5: no such keymap `--'

bindkey:bindkey:5: no such keymap `--'

bindkey:bindkey:5: no such keymap `--'

# Completions.

compctl -C -c -tn
compctl -D -f -tn
compctl -T

# Undefined functions.


# Defined functions.


# Limits.

limit stacksize       8MB
limit maxproc         30689
limit descriptors     1024
limit memorylocked    64kB
limit sigpending      30689
limit msgqueue        819200
limit nice            0
limit rt_priority     0

# Modules.

zmodload -d zsh/compctl zsh/complete zsh/zle
zmodload -d zsh/complete zsh/zle
zmodload -d zsh/complist zsh/complete zsh/zle
zmodload -d zsh/computil zsh/complete zsh/zle
zmodload -d zsh/zleparameter zsh/zle
zmodload -d zsh/zutil zsh/complete

zmodload -ab zsh/computil comparguments
zmodload -ab zsh/compctl compcall
zmodload -ab zsh/computil compdescribe
zmodload -ab zsh/computil compfiles
zmodload -ab zsh/computil compgroups
zmodload -ab zsh/computil compquote
zmodload -ab zsh/computil comptags
zmodload -ab zsh/computil comptry
zmodload -ab zsh/computil compvalues
zmodload -ab zsh/termcap echotc
zmodload -ab zsh/terminfo echoti
zmodload -ab zsh/rlimits limit
zmodload -ab zsh/param/private private
zmodload -ab zsh/sched sched
zmodload -ab zsh/rlimits ulimit
zmodload -ab zsh/rlimits unlimit
zmodload -ab zsh/zutil zformat
zmodload -ab zsh/zutil zparseopts
zmodload -ab zsh/zutil zregexparse
zmodload -ab zsh/zutil zstyle


zmodload -ap zsh/parameter aliases
zmodload -ap zsh/parameter builtins
zmodload -ap zsh/parameter commands
zmodload -ap zsh/parameter dirstack
zmodload -ap zsh/parameter dis_aliases
zmodload -ap zsh/parameter dis_builtins
zmodload -ap zsh/parameter dis_functions
zmodload -ap zsh/parameter dis_functions_source
zmodload -ap zsh/parameter dis_galiases
zmodload -ap zsh/parameter dis_patchars
zmodload -ap zsh/parameter dis_reswords
zmodload -ap zsh/parameter dis_saliases
zmodload -ap zsh/parameter funcfiletrace
zmodload -ap zsh/parameter funcsourcetrace
zmodload -ap zsh/parameter funcstack
zmodload -ap zsh/parameter functions
zmodload -ap zsh/parameter functions_source
zmodload -ap zsh/parameter functrace
zmodload -ap zsh/parameter galiases
zmodload -ap zsh/parameter history
zmodload -ap zsh/parameter historywords
zmodload -ap zsh/parameter jobdirs
zmodload -ap zsh/parameter jobstates
zmodload -ap zsh/parameter jobtexts
zmodload -ap zsh/zleparameter keymaps
zmodload -ap zsh/parameter modules
zmodload -ap zsh/parameter nameddirs
zmodload -ap zsh/parameter options
zmodload -ap zsh/parameter parameters
zmodload -ap zsh/parameter patchars
zmodload -ap zsh/parameter reswords
zmodload -ap zsh/parameter saliases
zmodload -ap zsh/termcap termcap
zmodload -ap zsh/terminfo terminfo
zmodload -ap zsh/parameter userdirs
zmodload -ap zsh/parameter usergroups
zmodload -ap zsh/zleparameter widgets
zmodload -ap zsh/sched zsh_scheduled_events

zmodload zsh/compctl
zmodload zsh/complete
zmodload zsh/main
zmodload zsh/zle

# Non-array variables.

ARGC=0
(eval):1: bad substitution
prompt='test%'

# Array variables.

argv=()
(eval):1: bad substitution

# Exported variables.

export COLORFGBG
export COLORTERM
export DBUS_SESSION_BUS_ADDRESS
export DESKTOP_SESSION
export DISPLAY
export EDITOR
export GPG_TTY
export GTK2_RC_FILES
export GTK_IM_MODULE
export GTK_MODULES
export GTK_RC_FILES
export HOME
export KDED_STARTED_BY_KDEINIT
export KDE_APPLICATIONS_AS_SCOPE
export KDE_FULL_SESSION
export KDE_SESSION_UID
export KDE_SESSION_VERSION
export KONSOLE_DBUS_SERVICE
export KONSOLE_DBUS_SESSION
export KONSOLE_DBUS_WINDOW
export KONSOLE_VERSION
export LANG
export LANGUAGE
export LC_ADDRESS
export LC_COLLATE
export LC_CTYPE
export LC_IDENTIFICATION
export LC_MEASUREMENT
export LC_MESSAGES
export LC_MONETARY
export LC_NAME
export LC_NUMERIC
export LC_PAPER
export LC_TELEPHONE
export LC_TIME
export LESS
export LESS_TERMCAP_mb
export LESS_TERMCAP_md
export LESS_TERMCAP_me
export LESS_TERMCAP_se
export LESS_TERMCAP_so
export LESS_TERMCAP_ue
export LESS_TERMCAP_us
export LOGNAME
export LSCOLORS
export LS_COLORS
export MAIL
export MOTD_SHOWN
export OLDPWD
export PAGER
export PAM_KWALLET5_LOGIN
export PATH
export PROFILEHOME
export PWD
export QT_AUTO_SCREEN_SCALE_FACTOR
export QT_IM_MODULE
export SHELL
export SHELL_SESSION_ID
export SHLVL
export TERM
export USER
export WINDOWID
export XAUTHORITY
export XCURSOR_SIZE
export XCURSOR_THEME
export XDG_CURRENT_DESKTOP
export XDG_RUNTIME_DIR
export XDG_SEAT
export XDG_SEAT_PATH
export XDG_SESSION_CLASS
export XDG_SESSION_DESKTOP
export XDG_SESSION_ID
export XDG_SESSION_PATH
export XDG_SESSION_TYPE
export XDG_VTNR
export XMODIFIERS

# Setopt.

setopt nohashdirs

# Styles.


# END zsh saveset

[System Info]
Linux version 5.11.1-arch1-1 (linux@archlinux) (gcc (GCC) 10.2.0, GNU
ld (GNU Binutils) 2.36.1) #1 SMP PREEMPT Tue,

Thanks!

--
ZheNing Hu




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