Changeset 275014 in webkit


Ignore:
Timestamp:
Mar 25, 2021, 5:10:54 AM (4 years ago)
Author:
berto@igalia.com
Message:

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):

Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r275003 r275014  
     12021-03-25  Alberto Garcia  <berto@igalia.com>
     2
     3        REGRESSION(r271560): [Linux] release assert in Thread::initializePlatformThreading
     4        https://bugs.webkit.org/show_bug.cgi?id=223069
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        Replace an existing signal handler instead of aborting.
     9
     10        * wtf/posix/ThreadingPOSIX.cpp:
     11        (WTF::Thread::initializePlatformThreading):
     12
    1132021-03-24  Mark Lam  <mark.lam@apple.com>
    214
  • trunk/Source/WTF/wtf/posix/ThreadingPOSIX.cpp

    r272006 r275014  
    210210        // It has signal already.
    211211        if (oldAction.sa_handler != SIG_DFL || bitwise_cast<void*>(oldAction.sa_sigaction) != bitwise_cast<void*>(SIG_DFL))
    212             return false;
     212            WTFLogAlways("Overriding existing handler for signal %d. Set JSC_SIGNAL_FOR_GC if you want WebKit to use a different signal", signal);
    213213        return !sigaction(signal, &action, 0);
    214214    };
Note: See TracChangeset for help on using the changeset viewer.