<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 - [GTK] Media tests crashing with gst-plugins-bad 1.4.4 and cpp 5.2"
   href="https://bugs.webkit.org/show_bug.cgi?id=150026">150026</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[GTK] Media tests crashing with gst-plugins-bad 1.4.4 and cpp 5.2
          </td>
        </tr>

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

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

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

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

        <tr>
          <th>Keywords</th>
          <td>Gtk
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>WebKit Gtk
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>mario&#64;webkit.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>bugs-noreply&#64;webkitgtk.org, cgarcia&#64;igalia.com, clopez&#64;igalia.com, gns&#64;gnome.org, mcatanzaro&#64;igalia.com, mrobinson&#64;webkit.org, pnormand&#64;igalia.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>As it was found out while working on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] Update jhbuild's version of harfbuzz"
   href="show_bug.cgi?id=149749">bug 149749</a>, I had quite some trouble running the layout tests on a recently installed development machine with &quot;standard&quot; Debian Testing (no packages from other sources), where I would get ~230 tests crashing due to some kind of problem in GStreamer, as you can check here:

  Description: <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] Update jhbuild's version of harfbuzz"
   href="show_bug.cgi?id=149749#c6">https://bugs.webkit.org/show_bug.cgi?id=149749#c6</a>  
  Results here: <a href="https://drive.google.com/file/d/0B6Gdj3EoWfFLRFNSejRIMlViY28/view?usp=sharing">https://drive.google.com/file/d/0B6Gdj3EoWfFLRFNSejRIMlViY28/view?usp=sharing</a>

After some investigation today, I finally found the problem (and why it was so hard to find in the first place): 

The problem is that a newer versions of cpp (I have 5.2.1, while the bot has 4.9.2) produces a different output while processing the headers from libfaad2, causing gst-plugins-bad to be compiled without the FAAD2_MINOR_VERSION definition in config.h, which causes crashes and stack corruption on runtime.

This problem has been reported already for Fedora 22 in the RH's bugzilla:
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1219320">https://bugzilla.redhat.com/show_bug.cgi?id=1219320</a>

Fortunately, this has been already fixed upstream in gst-plugins-bad:
<a href="http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=1f738ca5b8711ca5532a326cd646312e60484863">http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=1f738ca5b8711ca5532a326cd646312e60484863</a>

I'm 100% sure that's the same issue I was seeing because I could double check myself that the output for f21 and f22 as mentioned in <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1219320#c21">https://bugzilla.redhat.com/show_bug.cgi?id=1219320#c21</a> is exactly the same one that I'm getting in the bots (with help from aperezdc), with cpp 4.9.2, and my local Debian Testing machine, with cpp 5.2.1.

Besides, I've applied the patch locally myself to the gst-plugins-bad from the internal jhbuild, recompiled it together with the WebKit libraries and binaries... and it worked! No more weird crashes around running the tests!

So, I'll submit a new patch to backport that patch from upstream into gst-plugins-bad 1.4.4 from the jhbuild</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>