Bug 1238544

Summary: Setting globassign crashes completion
Product: [Fedora] Fedora Reporter: Artur Penttinen <artur+redhat.com>
Component: zshAssignee: Kamil Dudka <kdudka>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 22CC: dmaphy, james.antill, kdudka
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: zsh-5.0.8-3.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-21 08:09:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Artur Penttinen 2015-07-02 06:35:20 UTC
Description of problem: after upgrade zsh to zsh-5.0.8-1.fc22 completion
is completely broken


Version-Release number of selected component (if applicable): zsh-5.0.8-2.fc22


How reproducible:




Steps to Reproduce:
1. install zsh-5.0.8-1.fc22
2.
zsh# ls <TAB>
_main_complete:388: _lastcomp: assignment to invalid subscript range
zsh# ls

3.

Actual results:
completion doesn'yt work.

Expected results: should  display list/table of files


Additional info: this is known problem, and there is path to fix it:

http://zsh-workers.zsh.narkive.com/oL3tcxzc/zsh-live-version-setting-globassign-crashes-completion

After apply path from http://narkive.com/oL3tcxzc.3 all is OK.

Comment 1 Artur Penttinen 2015-07-02 06:42:15 UTC
Sorry, small fix:
Version-Release number of selected component (if applicable): zsh-5.0.8-1.fc22

Comment 2 Artur Penttinen 2015-07-02 07:26:17 UTC
Also second issue: http://permalink.gmane.org/gmane.comp.shells.zsh.devel/33240

Comment 3 Kamil Dudka 2015-07-02 08:51:43 UTC
Thank you for reporting the bugs!  I am not able to trigger them locally, but will apply the related upstream fixes.

Comment 4 Kamil Dudka 2015-07-02 09:20:46 UTC
fixed in zsh-5.0.8-3.fc23

Comment 5 Fedora Update System 2015-07-02 09:45:07 UTC
zsh-5.0.8-2.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/zsh-5.0.8-2.fc22

Comment 6 Fedora Update System 2015-07-02 09:45:14 UTC
zsh-5.0.8-2.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/zsh-5.0.8-2.fc21

Comment 7 Fedora Update System 2015-07-03 18:44:48 UTC
Package zsh-5.0.8-2.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing zsh-5.0.8-2.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-11099/zsh-5.0.8-2.fc22
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2015-07-07 11:06:06 UTC
zsh-5.0.8-3.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/zsh-5.0.8-3.fc22

Comment 9 Fedora Update System 2015-07-07 11:06:16 UTC
zsh-5.0.8-3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/zsh-5.0.8-3.fc21

Comment 10 Fedora Update System 2015-07-21 08:09:09 UTC
zsh-5.0.8-3.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2015-07-21 08:24:02 UTC
zsh-5.0.8-3.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.