The following shell script causes a segfault in sh! #!/bin/sh F="/sys/devices/system/cpu/cpu0/online" echo "$(< $F)" Output: sh[517]: segfault at 8 ip 08069dd4 sp bffbdeb4 error 4 in busybox[8048000+6f000] Segmentation fault Kernel: 2.6.32.8 on ULV Celeron (Pentium-M)
*** Bug 1099 has been marked as a duplicate of this bug. ***
I bisected this to commit e56f22ac6072a6279782951fe7aaf633d4d6052a - ash: make "jobs" work even in subshells
Created attachment 1159 [details] Proposed patch I observe same behavior with bb 1.15.3 & 1.16.0 on both MIPS & i686 platforms. Unfortunately, no progress on this bug yet, so I propose my own patch. It fixes problem for me.
Applied to git, thanks!
Fix is at http://busybox.net/downloads/fixes-1.16.0/busybox-1.16.0-ash.patch