Description of problem: ksh executing a script Version-Release number of selected component: ksh-20120801-11.fc20 Additional info: reporter: libreport-2.1.11 backtrace_rating: 4 cmdline: ksh /home/christian/bin/fib.sh 25 crash_function: sh_assignok executable: /usr/bin/ksh kernel: 3.12.6-300.fc20.x86_64 runlevel: 5 3 type: CCpp uid: 1000 Truncated backtrace: Thread no. 1 (10 frames) #0 sh_assignok at /usr/src/debug/ksh-20120801/src/cmd/ksh93/sh/subshell.c:243 #1 nv_putval at /usr/src/debug/ksh-20120801/src/cmd/ksh93/sh/name.c:1615 #2 b_dot_cmd at /usr/src/debug/ksh-20120801/src/cmd/ksh93/bltins/misc.c:316 #3 sh_funct at /usr/src/debug/ksh-20120801/src/cmd/ksh93/sh/xec.c:3523 #4 sh_exec at /usr/src/debug/ksh-20120801/src/cmd/ksh93/sh/xec.c:1579 #5 sh_subshell at /usr/src/debug/ksh-20120801/src/cmd/ksh93/sh/subshell.c:590 #6 comsubst at /usr/src/debug/ksh-20120801/src/cmd/ksh93/sh/macro.c:2135 #7 varsub at /usr/src/debug/ksh-20120801/src/cmd/ksh93/sh/macro.c:1168 #8 copyto at /usr/src/debug/ksh-20120801/src/cmd/ksh93/sh/macro.c:633 #9 sh_mactrim at /usr/src/debug/ksh-20120801/src/cmd/ksh93/sh/macro.c:183
Created attachment 850800 [details] File: backtrace
Created attachment 850801 [details] File: cgroup
Created attachment 850802 [details] File: core_backtrace
Created attachment 850803 [details] File: dso_list
Created attachment 850804 [details] File: environ
Created attachment 850805 [details] File: exploitable
Created attachment 850806 [details] File: limits
Created attachment 850807 [details] File: maps
Created attachment 850808 [details] File: open_fds
Created attachment 850809 [details] File: proc_pid_status
Created attachment 850810 [details] File: var_log_messages
FWIW, this "fib.sh" is a small script to generate Fibonacci numbers, written by someone else: http://stackoverflow.com/a/19624322/2303098 And yeah, it's 100% reproducible with ksh with arguments greater than 24. bash,zsh seem to be fine. Also, ksh on an entirely different system (powerpc, ksh 93u+ 2012-02-29) dumps core as well, so this may be an "upstream" issue, if there is such a thing for "ksh".
ksh-20120801-12.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/ksh-20120801-12.fc19
ksh-20120801-14.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/ksh-20120801-14.fc20
Package ksh-20120801-14.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 ksh-20120801-14.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-1035/ksh-20120801-14.fc20 then log in and leave karma (feedback).
After installing this update, ksh-20120801-14, man ksh inside ksh freezes the shell and it must be killed with SIGKILL. Running transaction Updating : ksh-20120801-14.fc20.x86_64 1/2 Cleanup : ksh-20120801-11.fc20.x86_64 2/2 Verifying : ksh-20120801-14.fc20.x86_64 1/2 Verifying : ksh-20120801-11.fc20.x86_64 2/2 Updated: ksh.x86_64 0:20120801-14.fc20 Complete! [sample@example ~]$ ksh $ man ksh Killed
ksh-20120801-15.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
ksh-20120801-17.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.