Title: [275030] releases/WebKitGTK/webkit-2.32/Source/WTF
Revision
275030
Author
[email protected]
Date
2021-03-25 07:07:29 -0700 (Thu, 25 Mar 2021)

Log Message

Merge r275014 - REGRESSION(r271560): [Linux] release assert in Thread::initializePlatformThreading
https://bugs.webkit.org/show_bug.cgi?id=223069

Reviewed by Carlos Garcia Campos.

Replace an existing signal handler instead of aborting.

* wtf/posix/ThreadingPOSIX.cpp:
(WTF::Thread::initializePlatformThreading):

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.32/Source/WTF/ChangeLog (275029 => 275030)


--- releases/WebKitGTK/webkit-2.32/Source/WTF/ChangeLog	2021-03-25 14:07:25 UTC (rev 275029)
+++ releases/WebKitGTK/webkit-2.32/Source/WTF/ChangeLog	2021-03-25 14:07:29 UTC (rev 275030)
@@ -1,3 +1,15 @@
+2021-03-25  Alberto Garcia  <[email protected]>
+
+        REGRESSION(r271560): [Linux] release assert in Thread::initializePlatformThreading
+        https://bugs.webkit.org/show_bug.cgi?id=223069
+
+        Reviewed by Carlos Garcia Campos.
+
+        Replace an existing signal handler instead of aborting.
+
+        * wtf/posix/ThreadingPOSIX.cpp:
+        (WTF::Thread::initializePlatformThreading):
+
 2021-03-16  Khem Raj  <[email protected]>
 
         [CMake] Build fails on RISC-V with GCC 11

Modified: releases/WebKitGTK/webkit-2.32/Source/WTF/wtf/posix/ThreadingPOSIX.cpp (275029 => 275030)


--- releases/WebKitGTK/webkit-2.32/Source/WTF/wtf/posix/ThreadingPOSIX.cpp	2021-03-25 14:07:25 UTC (rev 275029)
+++ releases/WebKitGTK/webkit-2.32/Source/WTF/wtf/posix/ThreadingPOSIX.cpp	2021-03-25 14:07:29 UTC (rev 275030)
@@ -209,7 +209,7 @@
             return false;
         // It has signal already.
         if (oldAction.sa_handler != SIG_DFL || bitwise_cast<void*>(oldAction.sa_sigaction) != bitwise_cast<void*>(SIG_DFL))
-            return false;
+            WTFLogAlways("Overriding existing handler for signal %d. Set JSC_SIGNAL_FOR_GC if you want WebKit to use a different signal", signal);
         return !sigaction(signal, &action, 0);
     };
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to