[Webkit-unassigned] [Bug 212380] [GTK] pthread_create() fails with EPERM in the second WebKitWebProcess with sandbox on

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 28 01:20:57 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=212380

--- Comment #4 from Milan Crha <mcrha at redhat.com> ---
This is what I have added there:

--------------------------------------------------------

static void *test_thread (void *)
{
        return NULL;
}

Scavenger::Scavenger(const LockHolder&)
{
....

        pthread_t tid = 0;
        int err = pthread_create (&tid, NULL, test_thread, NULL);
        fprintf (stderr, "Scavenger:%d: constructor before std::thread; pthreade:%d id:%d\n", getpid(),
                err, (int) tid);
    m_thread = std::thread(&threadEntryPoint, this);
        fprintf (stderr, "Scavenger:%d: after std:thread\n", getpid());
}

--------------------------------------------------------

The second fprintf() is printed only for the first instance of the WebKitWebView.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200528/617f0615/attachment.htm>


More information about the webkit-unassigned mailing list