FS#35736 - [zsh] segmentation fault on TAB-complete

Attached to Project: Arch Linux
Opened by Zsolt Udvari (uzsolt) - Sunday, 09 June 2013, 17:54 GMT
Last edited by Pierre Schmitz (Pierre) - Saturday, 02 November 2013, 21:48 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

When I'm typing into zsh prompt (you'll need to install 'task' package):
"task "
and after I press <TAB>, zsh segfaults.

Version 5.0.2-2

Other complete works well, without segfault.
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Saturday, 02 November 2013, 21:48 GMT
Reason for closing:  Upstream
Comment by John (graysky) - Sunday, 09 June 2013, 18:52 GMT
I don't get a segfault, but:

% task Cannot proceed without rc file.
Cannot proceed without rc file.
Cannot proceed without rc file.
Cannot proceed without rc file.
Cannot proceed without rc file.
Cannot proceed without rc file.
Cannot proceed without rc file.
Cannot proceed without rc file.
Cannot proceed without rc file.
Cannot proceed without rc file.
task

If I hit TAB a 2nd time, the xterm closes. Dunno if this is a bug in zsh or task.
Comment by KaiSforza (KaiSforza) - Sunday, 09 June 2013, 19:12 GMT
I'm not getting a segmentation fault with an rc file (just run `task`, it'll generate an example rc file for you).
Comment by Zsolt Udvari (uzsolt) - Monday, 10 June 2013, 04:28 GMT
Oh, yes, graysky, you've right, should hit TAB twice. Maybe it's a bug in zsh because I think if the _task file is wrong, zsh shouldn't segfault. And of course, the task package is bad too, I think.
Comment by Johannes Schlatow (vali) - Wednesday, 03 July 2013, 12:08 GMT
Strangely enough, it works with 5.0.2-1 without segfaults.
Comment by Pierre Schmitz (Pierre) - Friday, 12 July 2013, 20:39 GMT
I cannot reproduce it. But then I never used task. It's probably best to talk to upstream (zsh).
Comment by Adam (agouge) - Monday, 26 August 2013, 10:09 GMT
I confirm this behavior using task and pressting <TAB> twice.
Comment by everytrash (everytrash) - Tuesday, 22 October 2013, 08:20 GMT
I confirm this bug by pressing <TAB> twice too.

- ZSH extra/zsh 5.0.2-4
- task community/task 2.2.0-1
Comment by Pierre Schmitz (Pierre) - Saturday, 02 November 2013, 21:47 GMT
This issue is known upstream and should be fixed there.

Loading...