title: Different run time after Segfault in Infinite Recursive main()
body: <p>Just as we know,
  In Linux world, infinite recusive "main()" in userspace will receive "segmentation fault" messsage, which is actually caused by stack overflow. (just as the following code)</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  void main(void) 
  {
      main ();
  }
  </code></pre>
  
  <p>Experiment and Question:</p>
  
  <p>Change code to:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  int cnt = 0; 
  void main(void) {
      printf("cnt %d\n", cnt++);
      main();
  }
  </code></pre>
  
  <p><strong>Test environment:</strong></p>
  
  <p>x86-64 ubuntu,
  gcc-4.6</p>
  
  <p><strong>I need your help and thanks in advance!</strong></p>
  
  <p><strong>Why Segmentation fault happens in different "cnt" value:</strong></p>
  
  <p>cnt: 523614</p>
  
  <p>cnt: 523602</p>
  
  <p>cnt: 523712</p>
  
  <p>cnt: 523671</p>