sh (pid 1081) segfaults for page address 00000000 at pc 00000000

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Mon Jan 26 22:48:27 UTC 2009


On Mon, 26 Jan 2009, Cristian Ionescu-Idbohrn wrote:

> I've been doing that kind of evaluation everywhere since ages.
> All these expressions:
>
> 	[ "" ]
> 	[ -n "" ]
> 	[ -z "" ]
>
> evaluate correctly in all shells I use: bash, zsh, dash and ash (except
> for maybe this time, on this version: 1.13.2).  I already have ash from bb
> 1.1.3 behaving as expected on the same box.

See the attached test script.
Substitute the shebang line for various shells.


Cheers,

-- 
Cristian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-pidof.sh
Type: application/x-sh
Size: 1496 bytes
Desc: 
Url : http://lists.busybox.net/pipermail/busybox/attachments/20090126/db42334b/attachment.sh 


More information about the busybox mailing list