<?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>231974</bug_id>
          
          <creation_ts>2021-10-19 12:07:43 -0700</creation_ts>
          <short_desc>[ iOS15 Sim Debug ] API tests crashing (bot issue)</short_desc>
          <delta_ts>2021-10-19 12:27:30 -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>INVALID</resolution>
          
          
          <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="Eric Hutchison">ehutchison</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ehutchison</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1806214</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Hutchison">ehutchison</who>
    <bug_when>2021-10-19 12:07:43 -0700</bug_when>
    <thetext>TestWebKitAPI._WKDownload.Resume

is a flaky crash on iOS15 Sim Debug.

History: https://results.webkit.org/?recent=false&amp;suite=api-tests&amp;test=TestWebKitAPI._WKDownload.Resume&amp;platform=ios

Build: https://ews-build.webkit.org/#/builders/9/builds/56954, https://build.webkit.org/#/builders/267/builds/228

Results: https://ews-build.webkit.org/api/v2/logs/15117402/raw, https://build.webkit.org/api/v2/logs/4752498/raw

From STDIO on EWS:

Crashed
    TestWebKitAPI._WKDownload.Resume
        Child process terminated with signal 5: Trace/BPT trap
        2021-10-18 21:23:10.777 com.apple.WebKit.Networking.Development[95651:782981694] *** Terminating app due to uncaught exception &apos;NSInvalidArgumentException&apos;, reason: &apos;Cannot create download task without request or resume data&apos;
        *** First throw call stack:
        (
        	0   CoreFoundation                      0x00000001114fefba __exceptionPreprocess + 242
        	1   libobjc.A.dylib                     0x00000001112f8ff5 objc_exception_throw + 48
        	2   CFNetwork                           0x0000000111c8f228 CFNetwork + 16936
        	3   WebKit                              0x000000010f2bd667 _ZN6WebKit8Download6resumeERKN3IPC14ArrayReferenceIhLm18446744073709551615EEERKN3WTF6StringEONS_16SandboxExtension6HandleE + 353
        	4   WebKit                              0x000000010f3af6a4 _ZN6WebKit15DownloadManager14resumeDownloadEN3PAL9SessionIDEN3WTF16ObjectIdentifierINS_22DownloadIdentifierTypeEEERKN3IPC14ArrayReferenceIhLm18446744073709551615EEERKNS3_6StringEONS_16SandboxExtension6HandleENS_20CallDownloadDidStartE + 132
        	5   WebKit                              0x000000010f218f90 _ZN6WebKit14NetworkProcess31didReceiveNetworkProcessMessageERN3IPC10ConnectionERNS1_7DecoderE + 3212
        	6   WebKit                              0x000000010f1df473 _ZN3IPC10Connection15dispatchMessageENSt3__110unique_ptrINS_7DecoderENS1_14default_deleteIS3_EEEE + 221
        	7   WebKit                              0x000000010f1df6b5 _ZN3IPC10Connection26dispatchOneIncomingMessageEv + 169
        	8   JavaScriptCore                      0x0000000117000cc1 _ZN3WTF7RunLoop11performWorkEv + 545
        	9   JavaScriptCore                      0x0000000117001572 _ZN3WTF7RunLoop11performWorkEPv + 34
        	10  CoreFoundation                      0x000000011146cede __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
        	11  CoreFoundation                      0x000000011146cdd6 __CFRunLoopDoSource0 + 180
        	12  CoreFoundation                      0x000000011146c29e __CFRunLoopDoSources0 + 242
        	13  CoreFoundation                      0x00000001114669f7 __CFRunLoopRun + 875
        	14  CoreFoundation                      0x00000001114661a7 CFRunLoopRunSpecific + 567
        	15  Foundation                          0x000000010ed3d204 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 209
        	16  Foundation                          0x000000010ed3d418 -[NSRunLoop(NSRunLoop) run] + 76
        	17  libxpc.dylib                        0x0000000112d871a8 _xpc_objc_main + 591
        	18  libxpc.dylib                        0x0000000112d89143 xpc_main + 143
        	19  WebKit                              0x000000010f3934a8 _ZN6WebKit14XPCServiceMainEiPPKc + 87
        	20  libdyld.dylib                       0x0000000112a31bbd start + 1
        )

From https://build.webkit.org/#/builders/267/builds/228

(os/kern) memory data moved
worker/0 TestWebKitAPI._WKDownload.Resume Crashed
An error was encountered processing the command (domain=NSMachErrorDomain, code=24):
(os/kern) memory data moved

Unable to reproduce crash locally on ToT (r284463) using run-api-tests --ios-simulator --debug TestWebKitAPI._WKDownload.Resume.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1806223</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Hutchison">ehutchison</who>
    <bug_when>2021-10-19 12:27:17 -0700</bug_when>
    <thetext>Crash is due to a test issue, not the code itself. Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1806225</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-10-19 12:27:30 -0700</bug_when>
    <thetext>&lt;rdar://problem/84427286&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>