An error occurs in the open part of the c code used by Android : <p>I am calling the function from C code.</p>

<pre><code>FILE *temp;
char command[] = "dumpsys SurfaceFlinger --latency SurfaceView";
strcat(command,"" );
temp = popen(command, "r");
</code></pre>

<p>I call this once a second. But in about five minutes the process will be over. I checked the log and found that there was a problem in the open. But we don't know what caused it.</p>
