<?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>210439</bug_id>
          
          <creation_ts>2020-04-13 10:33:17 -0700</creation_ts>
          <short_desc>[ macOS iOS debug ] two http/tests/security/basic-auth-module are crashing with an assertion failure</short_desc>
          <delta_ts>2020-04-13 10:35:42 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>210434</dup_id>
          
          <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="Jacob Uphoff">jacob_uphoff</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bot-watchers</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>ysuzuki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1640966</commentid>
    <comment_count>0</comment_count>
    <who name="Jacob Uphoff">jacob_uphoff</who>
    <bug_when>2020-04-13 10:33:17 -0700</bug_when>
    <thetext>The following tests are crashing with an assertion failure after being added:
http/tests/security/basic-auth-module-propagate.html
http/tests/security/basic-auth-module.html

They are constantly failing on both macOS and iOS for debug.

History:

https://results.webkit.org/?suite=layout-tests&amp;suite=layout-tests&amp;test=http%2Ftests%2Fsecurity%2Fbasic-auth-module-propagate.html&amp;test=http%2Ftests%2Fsecurity%2Fbasic-auth-module.html

Log:

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x00000000bbadbeef
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [25056]

VM Regions Near 0xbbadbeef:
--&gt; 
    __TEXT                 0000000109325000-0000000109326000 [    4K] r-x/r-x SM=COW  /Volumes/VOLUME/*/*.Development

Application Specific Information:
CRASHING TEST: /security/basic-auth-module-propagate.html

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.JavaScriptCore      	0x000000054a68df5e WTFCrash + 14 (Assertions.cpp:309)
1   com.apple.WebCore             	0x000000052d2f7d8b WTFCrashWithInfo(int, char const*, char const*, int) + 27
2   com.apple.WebCore             	0x0000000530841283 WebCore::ResourceLoader::didBlockAuthenticationChallenge() + 147 (ResourceLoader.cpp:491)
3   com.apple.WebKit              	0x00000005215d218f WebKit::WebResourceLoader::didBlockAuthenticationChallenge() + 383 (WebResourceLoader.cpp:305)
4   com.apple.WebKit              	0x0000000521bd45d4 void IPC::callMemberFunctionImpl&lt;WebKit::WebResourceLoader, void (WebKit::WebResourceLoader::*)(), std::__1::tuple&lt;&gt; &gt;(WebKit::WebResourceLoader*, void (WebKit::WebResourceLoader::*)(), std::__1::tuple&lt;&gt;&amp;&amp;, std::__1::integer_sequence&lt;unsigned long&gt;) + 132 (HandleMessage.h:42)
5   com.apple.WebKit              	0x0000000521bd4530 void IPC::callMemberFunction&lt;WebKit::WebResourceLoader, void (WebKit::WebResourceLoader::*)(), std::__1::tuple&lt;&gt;, std::__1::integer_sequence&lt;unsigned long&gt; &gt;(std::__1::tuple&lt;&gt;&amp;&amp;, WebKit::WebResourceLoader*, void (WebKit::WebResourceLoader::*)()) + 112 (HandleMessage.h:48)
6   com.apple.WebKit              	0x0000000521bd1db6 void IPC::handleMessage&lt;Messages::WebResourceLoader::DidBlockAuthenticationChallenge, WebKit::WebResourceLoader, void (WebKit::WebResourceLoader::*)()&gt;(IPC::Decoder&amp;, WebKit::WebResourceLoader*, void (WebKit::WebResourceLoader::*)()) + 150 (HandleMessage.h:115)
7   com.apple.WebKit              	0x0000000521bd14be WebKit::WebResourceLoader::didReceiveWebResourceLoaderMessage(IPC::Connection&amp;, IPC::Decoder&amp;) + 1390 (WebResourceLoaderMessageReceiver.cpp:86)
8   com.apple.WebKit              	0x000000052158d516 WebKit::NetworkProcessConnection::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;) + 166 (NetworkProcessConnection.cpp:92)
9   com.apple.WebKit              	0x0000000520074759 IPC::Connection::dispatchMessage(IPC::Decoder&amp;) + 473 (Connection.cpp:1009)
10  com.apple.WebKit              	0x00000005200750b2 IPC::Connection::dispatchMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;) + 578
11  com.apple.WebKit              	0x0000000520075790 IPC::Connection::dispatchOneIncomingMessage() + 208 (Connection.cpp:1146)
12  com.apple.WebKit              	0x0000000520094bfe IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)::$_7::operator()() + 94 (Connection.cpp:986)
13  com.apple.WebKit              	0x0000000520094b0e WTF::Detail::CallableWrapper&lt;IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)::$_7, void&gt;::call() + 30 (Function.h:52)
14  com.apple.JavaScriptCore      	0x000000054a6b91a2 WTF::Function&lt;void ()&gt;::operator()() const + 130 (Function.h:84)
15  com.apple.JavaScriptCore      	0x000000054a732f08 WTF::RunLoop::performWork() + 280 (RunLoop.cpp:120)
16  com.apple.JavaScriptCore      	0x000000054a734691 WTF::RunLoop::performWork(void*) + 33 (RunLoopCF.cpp:39)
17  com.apple.CoreFoundation      	0x00007fff34998f12 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
18  com.apple.CoreFoundation      	0x00007fff34998eb1 __CFRunLoopDoSource0 + 103
19  com.apple.CoreFoundation      	0x00007fff34998ccb __CFRunLoopDoSources0 + 209
20  com.apple.CoreFoundation      	0x00007fff349979fa __CFRunLoopRun + 927
21  com.apple.CoreFoundation      	0x00007fff34996ffe CFRunLoopRunSpecific + 462
22  com.apple.Foundation          	0x00007fff3702b2a8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
23  com.apple.Foundation          	0x00007fff370ddd2f -[NSRunLoop(NSRunLoop) run] + 76
24  libxpc.dylib                  	0x00007fff6eb2e51a _xpc_objc_main.cold.4 + 49
25  libxpc.dylib                  	0x00007fff6eb2e460 _xpc_objc_main + 559
26  libxpc.dylib                  	0x00007fff6eb2df93 xpc_main + 377
27  com.apple.WebKit              	0x00000005208ce28b WebKit::XPCServiceMain(int, char const**) + 1499 (XPCServiceMain.mm:172)
28  com.apple.WebKit              	0x0000000521c82e6b WKXPCServiceMain + 27 (WKMain.mm:33)
29  com.apple.WebKit.WebContent   	0x0000000109325ec2 main + 34 (AuxiliaryProcessMain.cpp:30)
30  libdyld.dylib                 	0x00007fff6e8e0cc9 start + 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1640967</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-04-13 10:34:11 -0700</bug_when>
    <thetext>&lt;rdar://problem/61724025&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1640968</commentid>
    <comment_count>2</comment_count>
    <who name="Jacob Uphoff">jacob_uphoff</who>
    <bug_when>2020-04-13 10:34:41 -0700</bug_when>
    <thetext>Commit that added the tests https://trac.webkit.org/changeset/260003/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1640970</commentid>
    <comment_count>3</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2020-04-13 10:35:42 -0700</bug_when>
    <thetext>This is the same to bug 210434. And I verified this is existing bug: this test can crash without any change on pre-r260003 WebKit.

*** This bug has been marked as a duplicate of bug 210434 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>