BusyBox 1.2.1 piping issue

Coleman Brumley coleman.brumley at comcast.net
Thu Apr 5 21:51:11 UTC 2007



Denis Vlasenko wrote:
> On Thursday 05 April 2007 02:49, Coleman Brumley wrote:
>   
>>>> Did you test later versions?  Do you have strace output 
>>>> of misbehaving command?
>>>>
>>>> strace -f -o file.log ./busybox ash -c 'echo abcd | grep a'
>>>>
>>>> .config? On which arch are you? Does it happen on i386?
>>>>     
>>>>         
>>> heh, actually we just noticed this ourselves with busybox 1.4.2 on blackfin:
>>> echo "" | grep .
>>> grep seems to crash
>>> -mike
>>>   
>>>       
>> Thanks, Mike and Denis.
>>
>> It seems to be the "|" for me, since this also crashes:
>>
>> echo $x | cut -d"=" -f1 | tr 'A-Z' 'a-z'
>>
>>     
>>> strace -f -o file.log ./busybox ash -c 'echo abcd | grep a'
>>>       
>> I don't have strace installed as part of my busybox build.  What setting 
>> in .config turns that on?  Or did you mean to run the strace command on 
>> my desktop?
>>     
>
> strace is not in busybox, it's separate package.
> You can try building strace for the target.
>
> Or you can try to collect more data by building busybox
> on desktop machine, with same .config, and test it.
>
> IOW: we need more data points.
> --
> vda
>
>   
Believe me, I understand.  "It's broke" isn't very helpful.  If I get a 
chance to compile strace for my arch, I'll provide the log.  Would it 
really be useful to get an strace off my desktop since that's a 
different compiler, etc.?

- Coleman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20070405/9248843b/attachment-0002.htm 


More information about the busybox mailing list