Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Tab completion after a subshell command causes ZSH to crash:
$ zsh
$ autoload -U compinit && compinit -u
$ echo $(echo x)<TAB>
zsh: fatal error: out of memory
GDB Backtrace:
#0 __GI_exit (status=1) at exit.c:99
#1 0x0000000000453181 in zalloc ()
#2 0x00007ffff0309a54 in do_completion () from /usr/lib64/zsh/5.0.2/zsh/complete.so
#3 0x00007ffff054c3ef in docomplete () from /usr/lib64/zsh/5.0.2/zsh/zle.so
#4 0x00007ffff0548d10 in completecall () from /usr/lib64/zsh/5.0.2/zsh/zle.so
#5 0x00007ffff053a2b6 in execzlefunc () from /usr/lib64/zsh/5.0.2/zsh/zle.so
#6 0x00007ffff053a5b9 in zlecore () from /usr/lib64/zsh/5.0.2/zsh/zle.so
#7 0x00007ffff053b1dd in zleread () from /usr/lib64/zsh/5.0.2/zsh/zle.so
#8 0x00000000004405d2 in zleentry ()
#9 0x00000000004419d6 in ingetc ()
#10 0x000000000043abf6 in ihgetc ()
#11 0x000000000044b91e in zshlex ()
#12 0x0000000000469036 in parse_event ()
#13 0x000000000043dc3e in loop ()
#14 0x0000000000440fce in zsh_main ()
#15 0x00007ffff6ecab15 in __libc_start_main (main=0x40ed00 <main>, argc=1, ubp_av=0x7fffffffdb08, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fffffffdaf8) at libc-start.c:274
#16 0x000000000040ed31 in _start ()
Version-Release number of selected component (if applicable):
RHEL7
zsh-5.0.2-14.el7_2.2.x86_64
How reproducible:
Everytime
Steps to Reproduce:
$ zsh
$ autoload -U compinit && compinit -u
$ echo $(echo x)<TAB>
zsh: fatal error: out of memory
Actual results:
$ echo $(echo x)<TAB>
zsh: fatal error: out of memory
Expected results:
There should be no error
Additional info:
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHBA-2016-2152.html
Description of problem: Tab completion after a subshell command causes ZSH to crash: $ zsh $ autoload -U compinit && compinit -u $ echo $(echo x)<TAB> zsh: fatal error: out of memory GDB Backtrace: #0 __GI_exit (status=1) at exit.c:99 #1 0x0000000000453181 in zalloc () #2 0x00007ffff0309a54 in do_completion () from /usr/lib64/zsh/5.0.2/zsh/complete.so #3 0x00007ffff054c3ef in docomplete () from /usr/lib64/zsh/5.0.2/zsh/zle.so #4 0x00007ffff0548d10 in completecall () from /usr/lib64/zsh/5.0.2/zsh/zle.so #5 0x00007ffff053a2b6 in execzlefunc () from /usr/lib64/zsh/5.0.2/zsh/zle.so #6 0x00007ffff053a5b9 in zlecore () from /usr/lib64/zsh/5.0.2/zsh/zle.so #7 0x00007ffff053b1dd in zleread () from /usr/lib64/zsh/5.0.2/zsh/zle.so #8 0x00000000004405d2 in zleentry () #9 0x00000000004419d6 in ingetc () #10 0x000000000043abf6 in ihgetc () #11 0x000000000044b91e in zshlex () #12 0x0000000000469036 in parse_event () #13 0x000000000043dc3e in loop () #14 0x0000000000440fce in zsh_main () #15 0x00007ffff6ecab15 in __libc_start_main (main=0x40ed00 <main>, argc=1, ubp_av=0x7fffffffdb08, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdaf8) at libc-start.c:274 #16 0x000000000040ed31 in _start () Version-Release number of selected component (if applicable): RHEL7 zsh-5.0.2-14.el7_2.2.x86_64 How reproducible: Everytime Steps to Reproduce: $ zsh $ autoload -U compinit && compinit -u $ echo $(echo x)<TAB> zsh: fatal error: out of memory Actual results: $ echo $(echo x)<TAB> zsh: fatal error: out of memory Expected results: There should be no error Additional info: