<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][Mac] socketpair assertion failure"
   href="https://bugs.webkit.org/show_bug.cgi?id=151293">151293</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[GTK][Mac] socketpair assertion failure
          </td>
        </tr>

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

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

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

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </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>Major
          </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>Tom.Schoonjans&#64;me.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>bugs-noreply&#64;webkitgtk.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I am producing a formula for webkit-gtk for Homebrew. After a lot of trial and error, I managed to get 2.10.4 compiling successfully against Gtk+3 3.18.4 (with quartz backend).

My cmake invocation: 

cmake
.
-DCMAKE_C_FLAGS_RELEASE=
-DCMAKE_CXX_FLAGS_RELEASE=
-DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/webkitgtk/2.10.4
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_FIND_FRAMEWORK=LAST
-DCMAKE_VERBOSE_MAKEFILE=ON
-Wno-dev
-DPORT=GTK
-DENABLE_X11_TARGET=OFF
-DENABLE_PLUGIN_PROCESS_GTK2=OFF
-DENABLE_GEOLOCATION=OFF
-DENABLE_OPENGL=OFF
-DUSE_LIBNOTIFY=OFF
-DCMAKE_CXX_FLAGS=-I/usr/local/opt/gst-plugins-base/include/gstreamer-1.0
-DCMAKE_C_FLAGS=-I/usr/local/opt/gst-plugins-base/include/gstreamer-1.0
-DCMAKE_SHARED_LINKER_FLAGS=-L/path/to/nonexistent/folder

Now I tried to run the simple example I found at <a href="https://wiki.gnome.org/Projects/WebKitGtk/ProgrammingGuide/Tutorial">https://wiki.gnome.org/Projects/WebKitGtk/ProgrammingGuide/Tutorial</a>, which compiles nicely but segfaults at runtime with:


(process:16154): Gtk-WARNING **: Locale not supported by C library.
    Using the fallback 'C' locale.
2015-11-14 16:51:49.739 a.out[16154:3734622] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead. 
ASSERTION FAILED: socketpair(1, 5, 0, sockets) != -1
/tmp/webkitgtk20151114-89843-fs5fki/webkitgtk-2.10.4/Source/WebKit2/Platform/IPC/unix/ConnectionUnix.cpp(528) : static Connection::SocketPair IPC::Connection::createPlatformConnection(unsigned int)
1   0x103acb008
2   0x107ba81c8
3   0x107ba67b4
4   0x1082015bf
5   0x1082018ab
6   0x108201b04
7   0x107b7f4c2
8   0x107ba46e6
9   0x7fff8a52d05a
10  0x7fff8a52cfd7
11  0x7fff8a52a3ed
Segmentation fault: 11

Any thoughts?</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>