Segfaults under deep function recursion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dash (Debian) |
Fix Released
|
Unknown
|
|||
dash (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
% dash
$ foo() { echo $1; foo $(($1+1)); }; foo 1
1
2
...
15402
15403
zsh: segmentation fault dash
%
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: dash 0.5.5.1-7.4ubuntu1
ProcVersionSign
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelMo
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
CheckboxSubmission: b0d31efda018709
CheckboxSystem: 6ce041aeed0a2c1
Date: Thu Oct 27 10:19:14 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/zsh
SourcePackage: dash
UpgradeStatus: Upgraded to oneiric on 2011-05-03 (177 days ago)
Changed in dash (Debian): | |
status: | Unknown → Confirmed |
Changed in dash (Debian): | |
status: | Confirmed → Fix Released |
Ignoring the one-character typo of "bash" instead of "dash", I do believe this is a separate bug; dash and bash have significantly different codebases, as I understand it?
dash /does/ segfault with an identical testcase to bash, just later.