[Webkit-unassigned] [Bug 179914] WebProcess from WebKitGtk+ 2.19.2 SIGSEVs in bmalloc::IsoTLS::ensureEntries(unsigned int) at Source/bmalloc/bmalloc/IsoTLS.cpp:80

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 4 08:39:28 PST 2017


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

--- Comment #28 from Milan Crha <mcrha at redhat.com> ---
(In reply to Michael Catanzaro from comment #25)
> From the first three backtraces, it's not clear to me if IsoTLS::get is
> returning null, or if it's returning uninitialized memory.

It's returning nullptr:

> inline IsoTLS* IsoTLS::get()
> {
> #if HAVE_PTHREAD_MACHDEP_H
>     return static_cast<IsoTLS*>(_pthread_getspecific_direct(tlsKey));
> #else
>     if (!s_didInitialize) {
> 	printf ("   %p %s: not initialized\n", (void *) pthread_self (), __FUNCTION__);
>         return nullptr;
>    }
>    IsoTLS *ret = static_cast<IsoTLS*>(pthread_getspecific(s_tlsKey));
>    printf ("   %p %s: got-tls:%p\n", (void *) pthread_self (), __FUNCTION__, ret);
>    return ret;
> #endif
> }

All the series of backtraces in comment #11 is one run of MiniBrowser with my debug prints added. The first three backtraces only show when the code called IsoTLS::get() without the IsoTLS being initialized.

I updated git master from commit 59f33e1bb1 to commit 8db8781244 and I can retest. Just let me know what you'd like to see (hmm, well, till Thursday, after which I'm gone for the rest of the year).

-- 
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/20171204/203a6143/attachment.html>


More information about the webkit-unassigned mailing list