<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
Coleman Brumley wrote:
<blockquote cite="mid46144786.4080306@comcast.net" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
<br>
Mike Frysinger wrote:
<blockquote cite="mid200704042011.01576.vapier@gentoo.org" type="cite">
<pre wrap="">On Wednesday 04 April 2007, Denis Vlasenko wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On Wednesday 04 April 2007 20:42, Coleman Brumley wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello.
I'm having an issue with BusyBox v1.21 and piping. It seems as though
piping is causing busybox to restart/crash.
For example:
/# echo abcd | grep a
BusyBox v1.2.1 (2007.03.26-18:36+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands./
Has anyone run into this or anything similar?
</pre>
</blockquote>
<pre wrap="">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?
</pre>
</blockquote>
<pre wrap=""><!---->
heh, actually we just noticed this ourselves with busybox 1.4.2 on blackfin:
echo "" | grep .
grep seems to crash
-mike
</pre>
<pre wrap=""> </pre>
</blockquote>
Thanks, Mike and Denis.<br>
<br>
It seems to be the "|" for me, since this also crashes:<br>
<br>
echo $x | cut -d"=" -f1 | tr 'A-Z' 'a-z'<br>
<br>
<pre wrap="">> strace -f -o file.log ./busybox ash -c 'echo abcd | grep a'</pre>
<br>
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?<br>
<br>
This is for an arm platform cross compiled using gcc v3.4.1. I don't
know if it happens on i386, since I haven't built for that arch, just
arm. My .config is attached. <br>
<br>
</blockquote>
FYI, I recompiled with "CONFIG_TR=y" in my .config and the pipe is
working now. <br>
<br>
find . -name *.c -exec grep -Hi "CONFIG_TR" {} \; doesn't result in
anything, so I'm not sure where the dependency is, if there even is one.<br>
<br>
- Coleman<br>
<br>
<blockquote cite="mid46144786.4080306@comcast.net" type="cite"><br>
<blockquote cite="mid200704042011.01576.vapier@gentoo.org" type="cite">
<pre wrap=""><hr size="4" width="90%">
_______________________________________________
busybox mailing list
<a class="moz-txt-link-abbreviated" href="mailto:busybox@busybox.net">busybox@busybox.net</a>
<a class="moz-txt-link-freetext"
href="http://busybox.net/cgi-bin/mailman/listinfo/busybox">http://busybox.net/cgi-bin/mailman/listinfo/busybox</a></pre>
</blockquote>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
busybox mailing list
<a class="moz-txt-link-abbreviated" href="mailto:busybox@busybox.net">busybox@busybox.net</a>
<a class="moz-txt-link-freetext" href="http://busybox.net/cgi-bin/mailman/listinfo/busybox">http://busybox.net/cgi-bin/mailman/listinfo/busybox</a></pre>
</blockquote>
</body>
</html>