title: Google Chrome: How to debug random "Maximum call stack size exceeded" errors
body: <p>In a complex JavaScript app (with jQuery and Ember), the JavaScript will occasionally <strong>crash randomly</strong>, either during page load or when I perform an action on the page. The error is as follows (<a href="http://i.stack.imgur.com/RB2Z9.png">screenshot</a>):</p>
  
  <pre><code>Uncaught RangeError: Maximum call stack size exceeded
    Class.proto
    Class.proto
    ...
  </code></pre>
  
  <p>... with several pages of <code>Class.proto</code> stack trace lines, but no source/line information whatsoever, even at the bottom of the trace.</p>
  
  <p>I know that this points at infinite recursion, and this could conceivably happen in the event system, but there is no obvious starting point for me.</p>
  
  <p>I've been able to reproduce this <strong>only in Chrome Canary</strong> (22.0.1209.0), not Chrome stable or Firefox. The app is not talking to any external service or making any Ajax requests.</p>
  
  <p>Since it happens only occasionally, and with no discernible cause, and since there's no usable stack trace, I'm having trouble tracking down the cause.</p>
  
  <p><strong>My question:</strong> What can I do to debug this problem?</p>