<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Animating SVG (D3js) cause Safari hang up"
   href="https://bugs.webkit.org/show_bug.cgi?id=145796">145796</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Animating SVG (D3js) cause Safari hang up
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>528+ (Nightly build)
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh Intel
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Mac OS X 10.10
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Critical
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Animations
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>wassx&#64;icloud.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dino&#64;apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=254559" name="attach_254559" title="Sample of the process">attachment 254559</a> <a href="attachment.cgi?id=254559&amp;action=edit" title="Sample of the process">[details]</a></span>
Sample of the process

It is hard to reproduce. On my local machine i could reproduce it very rare. On our in house server, it occurs much more often, but still I have not found a way to clearly reproduce the error (still after 4 days of investigation).

The problem occurs, when multiple svg arcs are animated in its size (d3js transition arctween). After triggering this animation randomly (various mouse clicks) the animation gets stuck and safari hangs up.
I recorded a sample of the web content process and from the console and recognized a hanging loop in the glDrawArrays of the GLEngine.

I attached both stacktraces as it is the only hint i have found on this issue. Here is an excerpt, which i think is the critical part:

    +                             878 CA::OGL::GLContext::draw_lines(unsigned int, unsigned int, CA::OGL::LineVertex const*)  (in QuartzCore) + 110  [0x7fff91bbfa6a]
    +                             : 667 glDrawArrays_IMM_Exec  (in GLEngine) + 856  [0x7fff92cdb72d]
    +                             : | 112 ???  (in &lt;unknown binary&gt;)  [0x111c3d731]
    +                             : | 61 ???  (in &lt;unknown binary&gt;)  [0x111c3d734]
    +                             : | 59 ???  (in &lt;unknown binary&gt;)  [0x111c3d726]
    +                             : | 56 ???  (in &lt;unknown binary&gt;)  [0x111c3d73e]
    +                             : | 52 ???  (in &lt;unknown binary&gt;)  [0x111c3d741]
    +                             : | 48 ???  (in &lt;unknown binary&gt;)  [0x111c3d759]
    +                             : | 46 ???  (in &lt;unknown binary&gt;)  [0x111c3d72d]
    +                             : | 45 ???  (in &lt;unknown binary&gt;)  [0x111c3d753]
    +                             : | 37 ???  (in &lt;unknown binary&gt;)  [0x111c3d73b]
    +                             : | 37 ???  (in &lt;unknown binary&gt;)  [0x111c3d74c]
    +                             : | 35 ???  (in &lt;unknown binary&gt;)  [0x111c3d74f]
    +                             : | 32 ???  (in &lt;unknown binary&gt;)  [0x111c3d756]
    +                             : | 28 ???  (in &lt;unknown binary&gt;)  [0x111c3d745]
    +                             : | 19 ???  (in &lt;unknown binary&gt;)  [0x111c3d75c]
    +                             : 93 glDrawArrays_IMM_Exec  (in GLEngine) + 763  [0x7fff92cdb6d0]
    +                             : | 92 gleFlushPrimitiveTCLFunc  (in GLEngine) + 752  [0x7fff92d471a6]</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>