I applied the patch. Thanks a lot for helping me with this. Here is the output:<div><div># ./ltrace ping</div><div>./ltrace ping</div><div>./ltrace: read_multichunk_data: data incomplete</div><div>./ltrace: While reading .hash from /system/bin/ping.</div>

<div><br></div><div>Thanks,</div><div>Dushyant</div>
<br><div class="gmail_quote">On Thu, May 19, 2011 at 9:05 PM,  <span dir="ltr">&lt;<a href="mailto:pmachata@redhat.com" target="_blank">pmachata@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div>DUSHYANT ARORA &lt;<a href="mailto:dushyantarora13@gmail.com" target="_blank">dushyantarora13@gmail.com</a>&gt; writes:<br>
<br>
</div><div>&gt; I applied both patches. I get the following output:<br>
&gt; ./ltrace: Multiple data chunks in .hash from &quot;/system/bin/ping&quot;<br>
&gt; Sorry for the wrong output earlier. I copied the changes in the wrong<br>
&gt; place by mistake.<br>
<br>
</div>Hmm, interesting.  I&#39;m not completely sure what the semantics of<br>
multiple data chunks are, but I&#39;m hoping that the data is split in a<br>
straightforward manner.<br>
<br>
I wrote a quick patch that seems to be working per my testing.<br>
Unfortunately I have nowhere to test for the actual case of chunked<br>
data, I only made it go through the right branches even in single-chunk<br>
case.  Besides, if any other sections are chunked, too, we won&#39;t be able<br>
to handle them just the same.<br>
<br>
Anyway, the branch pmachata/chunks holds what I wrote.  Please check it<br>
out and tell me if it helps or how it fails.<br>
<br>
Thanks,<br>
PM<br>
</blockquote></div><br></div>