Bug 972624 - [abrt] zsh-5.0.2-1.fc18: setheredoc: Process /usr/bin/zsh was killed by signal 11 (SIGSEGV)
[abrt] zsh-5.0.2-1.fc18: setheredoc: Process /usr/bin/zsh was killed by signa...
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: zsh (Show other bugs)
20
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Kamil Dudka
Fedora Extras Quality Assurance
abrt_hash:e3d22b6e5740f3a287ce78e9220...
: FutureFeature, Patch
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-10 04:56 EDT by dan.keder
Modified: 2015-04-30 07:47 EDT (History)
4 users (show)

See Also:
Fixed In Version: zsh-5.0.7-7.fc21
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-04-28 09:01:51 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
File: backtrace (20.16 KB, text/plain)
2013-06-10 04:56 EDT, dan.keder
no flags Details
File: cgroup (126 bytes, text/plain)
2013-06-10 04:56 EDT, dan.keder
no flags Details
File: core_backtrace (793 bytes, text/plain)
2013-06-10 04:56 EDT, dan.keder
no flags Details
File: dso_list (1.50 KB, text/plain)
2013-06-10 04:56 EDT, dan.keder
no flags Details
File: environ (2.68 KB, text/plain)
2013-06-10 04:57 EDT, dan.keder
no flags Details
File: limits (1.29 KB, text/plain)
2013-06-10 04:57 EDT, dan.keder
no flags Details
File: maps (7.34 KB, text/plain)
2013-06-10 04:57 EDT, dan.keder
no flags Details
File: open_fds (105 bytes, text/plain)
2013-06-10 04:57 EDT, dan.keder
no flags Details
File: proc_pid_status (928 bytes, text/plain)
2013-06-10 04:57 EDT, dan.keder
no flags Details
File: var_log_messages (286 bytes, text/plain)
2013-06-10 04:57 EDT, dan.keder
no flags Details

  None (edit)
Description dan.keder 2013-06-10 04:56:43 EDT
Description of problem:
1. Run ZSH shell

2. Type-in this command and press ENTER

perl -e <<EOF$blee = {}; $blee->{fuj} = undef; print $blee->{fuj}, "\n"; print exists $blee->{fuj}, "\n"; delete $blee->{fuj}; print exists $blee->{fuj}, "\n"'

3. The "quote>" prompt appears. Press "Ctrl-C" to interrupt.

4. Normal shell prompt appears. Press ENTER.

5. The "heredoc>" prompt appears. Press "Ctrl-C" to interrupt.

6. ZSH segfaults.


Version-Release number of selected component:
zsh-5.0.2-1.fc18

Additional info:
reporter:       libreport-2.1.4
backtrace_rating: 4
cmdline:        /bin/zsh
crash_function: setheredoc
executable:     /usr/bin/zsh
kernel:         3.9.4-200.fc18.x86_64
runlevel:       N 5
uid:            1000

Truncated backtrace:
Thread no. 1 (5 frames)
 #0 setheredoc at parse.c:1946
 #1 zshlex at lex.c:421
 #2 parse_event at parse.c:451
 #3 loop at init.c:132
 #4 zsh_main at init.c:1617
Comment 1 dan.keder 2013-06-10 04:56:48 EDT
Created attachment 759113 [details]
File: backtrace
Comment 2 dan.keder 2013-06-10 04:56:51 EDT
Created attachment 759114 [details]
File: cgroup
Comment 3 dan.keder 2013-06-10 04:56:54 EDT
Created attachment 759115 [details]
File: core_backtrace
Comment 4 dan.keder 2013-06-10 04:56:57 EDT
Created attachment 759116 [details]
File: dso_list
Comment 5 dan.keder 2013-06-10 04:57:00 EDT
Created attachment 759117 [details]
File: environ
Comment 6 dan.keder 2013-06-10 04:57:03 EDT
Created attachment 759118 [details]
File: limits
Comment 7 dan.keder 2013-06-10 04:57:06 EDT
Created attachment 759119 [details]
File: maps
Comment 8 dan.keder 2013-06-10 04:57:10 EDT
Created attachment 759120 [details]
File: open_fds
Comment 9 dan.keder 2013-06-10 04:57:13 EDT
Created attachment 759121 [details]
File: proc_pid_status
Comment 10 dan.keder 2013-06-10 04:57:17 EDT
Created attachment 759122 [details]
File: var_log_messages
Comment 11 Fedora End Of Life 2013-12-21 08:56:23 EST
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.
Comment 12 dan.keder 2014-02-05 06:36:22 EST
It occurs in Fedora 20 too.
Comment 13 Dominic Hopf 2014-07-02 20:33:11 EDT
The issue is still reproducible with Zsh 5.0.5. Setting FutureFeature keyword so the issue won't be closed automatically.
Comment 14 Kamil Dudka 2015-04-17 09:29:16 EDT
proposed upstream:

http://www.zsh.org/mla/workers/2015/msg00832.html
Comment 15 Kamil Dudka 2015-04-20 04:49:31 EDT
upstream commit:

http://sourceforge.net/p/zsh/code/ci/2e48eceb
Comment 16 Kamil Dudka 2015-04-20 10:00:57 EDT
fixed in zsh-5.0.7-7.fc23
Comment 17 Fedora Update System 2015-04-20 10:49:25 EDT
zsh-5.0.7-7.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/zsh-5.0.7-7.fc22
Comment 18 Fedora Update System 2015-04-20 10:49:30 EDT
zsh-5.0.7-7.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/zsh-5.0.7-7.fc21
Comment 19 Fedora Update System 2015-04-20 10:49:37 EDT
zsh-5.0.7-7.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/zsh-5.0.7-7.fc20
Comment 20 lnie 2015-04-21 04:27:29 EDT
zsh-5.0.7-7.fc22 works
Comment 21 Kamil Dudka 2015-04-21 05:47:52 EDT
(In reply to lnie from comment #20)
> zsh-5.0.7-7.fc22 works

Thanks for confirmation!
Comment 22 Fedora Update System 2015-04-21 14:49:25 EDT
Package zsh-5.0.7-7.fc20:
* should fix your issue,
* was pushed to the Fedora 20 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.7-7.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-6466/zsh-5.0.7-7.fc20
then log in and leave karma (feedback).
Comment 23 Fedora Update System 2015-04-28 09:01:51 EDT
zsh-5.0.7-7.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 24 Fedora Update System 2015-04-30 07:41:32 EDT
zsh-5.0.7-7.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 25 Fedora Update System 2015-04-30 07:47:59 EDT
zsh-5.0.7-7.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.