<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>197988</bug_id>
          
          <creation_ts>2019-05-17 10:04:08 -0700</creation_ts>
          <short_desc>REGRESSION (r245418) TestWebKitAPI.Challenge.ClientCertificate is crashing on Mojave</short_desc>
          <delta_ts>2019-05-17 11:19:55 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit API</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=197989</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Shawn Roberts">sroberts</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>achristensen</cc>
    
    <cc>jlewis3</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>tsavell</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1537140</commentid>
    <comment_count>0</comment_count>
    <who name="Shawn Roberts">sroberts</who>
    <bug_when>2019-05-17 10:04:08 -0700</bug_when>
    <thetext>The following API test is crashing on Mojave Release and Debug builds

TestWebKitAPI.Challenge.ClientCertificate

Verified locally with

run-api-tests TestWebKitAPI.Challenge.ClientCertificate --debug

Crash:

_RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
        1   0x10635dc79 WTFCrash
        2   0x104bd01b9 WTF::CrashOnOverflow::crash()
        3   0x104bd01a9 WTF::CrashOnOverflow::overflowed()
        4   0x104c2d06b WTF::Vector&lt;WTF::RetainPtr&lt;NSString&gt;, 0ul, WTF::CrashOnOverflow, 16ul&gt;::at(unsigned long) const
        5   0x104c2806d WTF::Vector&lt;WTF::RetainPtr&lt;NSString&gt;, 0ul, WTF::CrashOnOverflow, 16ul&gt;::operator[](unsigned long) const
        6   0x104c27d00 Challenge_ClientCertificate_Test::TestBody()
        7   0x105234d0e void testing::internal::HandleSehExceptionsInMethodIfSupported&lt;testing::Test, void&gt;(testing::Test*, void (testing::Test::*)(), char const*)
        8   0x10520468b void testing::internal::HandleExceptionsInMethodIfSupported&lt;testing::Test, void&gt;(testing::Test*, void (testing::Test::*)(), char const*)
        9   0x1052045b6 testing::Test::Run()
        10  0x1052057c5 testing::TestInfo::Run()
        11  0x1052066af testing::TestCase::Run()
        12  0x105212314 testing::internal::UnitTestImpl::RunAllTests()
        13  0x105238e8e bool testing::internal::HandleSehExceptionsInMethodIfSupported&lt;testing::internal::UnitTestImpl, bool&gt;(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
        14  0x105211deb bool testing::internal::HandleExceptionsInMethodIfSupported&lt;testing::internal::UnitTestImpl, bool&gt;(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
        15  0x105211cc0 testing::UnitTest::Run()
        16  0x10506e931 RUN_ALL_TESTS()
        17  0x10506e8c1 TestWebKitAPI::TestsController::run(int, char**)
        18  0x1051d1a1e main
        19  0x7fff6f2b33d5 start
        20  0x2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1537142</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-05-17 10:05:01 -0700</bug_when>
    <thetext>&lt;rdar://problem/50896233&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1537160</commentid>
    <comment_count>2</comment_count>
    <who name="Shawn Roberts">sroberts</who>
    <bug_when>2019-05-17 10:32:34 -0700</bug_when>
    <thetext>Rolled out in https://trac.webkit.org/changeset/245468/webkit</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>