Bug 232099 - [ iOS15 EWS ] imported/w3c/web-platform-tests/websockets/Close-1000.any.html is a flaky crash
Summary: [ iOS15 EWS ] imported/w3c/web-platform-tests/websockets/Close-1000.any.html ...
Status: RESOLVED MOVED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-10-21 12:37 PDT by Eric Hutchison
Modified: 2022-02-10 10:14 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Hutchison 2021-10-21 12:37:05 PDT
imported/w3c/web-platform-tests/websockets/Close-1000.any.html

is a flaky crash on iOS15 EWS.

History: https://results.webkit.org/?suite=layout-tests&test=imported/w3c/web-platform-tests/websockets/Close-1000.any.html

Build: https://ews-build.webkit.org/#/builders/68/builds/111

Results: https://ews-build.s3-us-west-2.amazonaws.com/iOS-15-Simulator-WK2-Tests-EWS/r441940-111/results.html

Diff STDIO:

04:47:57.163 14744 worker/1 com.apple.WebKit.Networking.Development crash, pid = 16593
04:47:57.409 14744 worker/1 This test marked as a crash because of failure to poll the server process (return code was 1).

04:48:14.648 14744 worker/1 worker/1 imported/w3c/web-platform-tests/websockets/Close-1000.any.html crashed, (no stderr)
04:48:14.656 14744 [42839/51460] imported/w3c/web-platform-tests/websockets/Close-1000.any.html failed unexpectedly (com.apple.WebKit.Networking.Development crashed [pid=16593])
04:48:14.656 14744 worker/1 killing driver

04:48:18.515 14744 worker/1 imported/w3c/web-platform-tests/websockets/Close-1000.any.html failed:
04:48:18.516 14744 worker/1 com.apple.WebKit.Networking.Development crashed [pid=16593]

04:48:22.811 14744 worker/1 worker/1 imported/w3c/web-platform-tests/websockets/Close-1000.any.worker.html output stderr lines:
04:48:22.812 14744 worker/1   2021-10-21 04:48:20.503 WebKitTestRunnerApp[25221:783391] Writing analzed variants.
04:48:22.812 14744 worker/1   2021-10-21 04:48:20.604 WebKitTestRunnerApp[25221:783391] Writing analzed variants.
04:48:22.812 14744 worker/1   objc[25221]: Class _PathPoint is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore (0x12ce71a78) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/TextInputUI.framework/TextInputUI (0x13335c8b0). One of the two will be used. Which one is undefined.
04:48:22.812 14744 worker/1   objc[25221]: Class _PointQueue is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore (0x12ce71a50) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/TextInputUI.framework/TextInputUI (0x13335c8d8). One of the two will be used. Which one is undefined.
Comment 1 Radar WebKit Bug Importer 2021-10-21 12:38:11 PDT
<rdar://problem/84519173>
Comment 2 Eric Hutchison 2021-10-21 12:43:10 PDT
Updated test expectations at https://trac.webkit.org/changeset/284636/webkit
Comment 3 Eric Hutchison 2021-10-21 12:43:50 PDT
Unable to reproduce the crash locally.
Comment 4 Eric Hutchison 2021-10-21 12:52:30 PDT
Crash Log: https://ews-build.s3-us-west-2.amazonaws.com/iOS-15-Simulator-WK2-Tests-EWS/r441940-111/imported/w3c/web-platform-tests/websockets/Close-1000.any-crash-log.txt

Thread 61 Crashed:: Dispatch queue: com.apple.NSURLSession-work
0   libsystem_kernel.dylib        	0x000000010656b92e __pthread_kill + 10
1   libsystem_pthread.dylib       	0x000000010648b5bd pthread_kill + 263
2   libsystem_c.dylib             	0x0000000105f26684 abort + 123
3   libsystem_malloc.dylib        	0x00000001063a74e7 malloc_vreport + 541
4   libsystem_malloc.dylib        	0x00000001063a786c malloc_zone_error + 183
5   libsystem_malloc.dylib        	0x00000001063976b5 nanov2_allocate_from_block + 552
6   libsystem_malloc.dylib        	0x000000010639688a nanov2_allocate + 135
7   libsystem_malloc.dylib        	0x00000001063967b2 nanov2_malloc + 56
8   libsystem_malloc.dylib        	0x000000010639b5c9 _malloc_zone_malloc + 117
9   libsystem_c.dylib             	0x0000000105f02742 strdup + 32
10  libxpc.dylib                  	0x000000010630b80d xpc_string_create + 11
11  libxpc.dylib                  	0x0000000106308ecf xpc_dictionary_set_string + 24
12  libsystem_trace.dylib         	0x00000001063cf43e _os_activity_stream_entry_encode + 1035
13  libsystem_trace.dylib         	0x00000001063cee41 _os_activity_stream_reflect + 407
14  libsystem_trace.dylib         	0x00000001063dc2e1 _os_log_impl_stream + 580
15  libsystem_trace.dylib         	0x00000001063dbcf1 _os_log_impl_flatten_and_send + 8727
16  libsystem_trace.dylib         	0x00000001063d9acb _os_log + 158
17  libsystem_trace.dylib         	0x00000001063dc973 _os_log_impl + 21
18  com.apple.CFNetwork           	0x00000001068d9b50 0x106834000 + 678736
19  com.apple.CFNetwork           	0x0000000106a1de9e 0x106834000 + 2006686
20  com.apple.CFNetwork           	0x0000000106a1ff8b 0x106834000 + 2015115
21  libdispatch.dylib             	0x0000000105fcd876 _dispatch_call_block_and_release + 12
22  libdispatch.dylib             	0x0000000105fcea56 _dispatch_client_callout + 8
23  libdispatch.dylib             	0x0000000105fd508b _dispatch_lane_serial_drain + 718
24  libdispatch.dylib             	0x0000000105fd5c68 _dispatch_lane_invoke + 455
25  libdispatch.dylib             	0x0000000105fe06de _dispatch_workloop_worker_thread + 772
26  libsystem_pthread.dylib       	0x000000010648845d _pthread_wqthread + 314
27  libsystem_pthread.dylib       	0x000000010648742f start_wqthread + 15
Comment 5 Alexey Proskuryakov 2021-10-22 13:02:35 PDT
Marking INVALID, as this is not a bug in WebKit.
Comment 6 Brent Fulgham 2022-02-10 10:14:59 PST
We are using 'Moved' for things outside of WebKit (rather than 'Invalid') since it's still a bug that needs to be fixed.

Also, this should be fixed in current releases.