Bug 268568 - [iOS] Assertion failure causing fast/forms/ios/file-upload-panel-capture.html to consistently crash.
Summary: [iOS] Assertion failure causing fast/forms/ios/file-upload-panel-capture.html...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
: 269615 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-02-01 13:17 PST by Ben Schwartz
Modified: 2024-02-16 17:19 PST (History)
7 users (show)

See Also:


Attachments
file-upload-panel-capture-crash-log.ips (40.26 KB, text/plain)
2024-02-01 13:17 PST, Ben Schwartz
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Schwartz 2024-02-01 13:17:50 PST
Created attachment 469662 [details]
file-upload-panel-capture-crash-log.ips

fast/forms/ios/file-upload-panel-capture.html

This test is consistently crashing due to an assertion failure on iOS.

HISTORY:

https://results.webkit.org/?suite=layout-tests&test=fast%2Fforms%2Fios%2Ffile-upload-panel-capture.html&version_name=iOS%2016&version_name=iOS%2017&recent=false

CRASH LOG:

Attached.

STDERR:

2024-02-01 08:41:00.762 WebKitTestRunnerApp[47327:3638186] *** Assertion failure in -[DOCWeakProxy forwardingTargetForSelector:], DOCRemoteViewController.m:42
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'DocumentManager service tried to send a message to a deallocated host proxy'
*** First throw call stack:
(
	0   CoreFoundation                      0x00000001804658a8 __exceptionPreprocess + 172
	1   libobjc.A.dylib                     0x000000018005c09c objc_exception_throw + 56
	2   Foundation                          0x0000000180cf3a5c _userInfoForFileAndLine + 0
	3   DocumentManager                     0x000000010a9a5430 -[DOCWeakProxy forwardingTargetForSelector:] + 116
	4   CoreFoundation                      0x00000001804695c8 ___forwarding___ + 208
	5   CoreFoundation                      0x000000018046bd1c _CF_forwarding_prep_0 + 92
	6   Foundation                          0x0000000180e90364 __NSXPCCONNECTION_IS_CALLING_OUT_TO_EXPORTED_OBJECT_S2__ + 12
	7   Foundation                          0x0000000180e8f0bc -[NSXPCConnection _decodeAndInvokeMessageWithEvent:reply:flags:] + 1576
	8   Foundation                          0x0000000180e91170 message_handler_message + 84
	9   Foundation                          0x0000000180e906fc message_handler + 148
	10  libxpc.dylib                        0x00000001800957e0 _xpc_connection_call_event_handler + 68
	11  libxpc.dylib                        0x0000000180095ba0 _xpc_connection_mach_event + 904
	12  libdispatch.dylib                   0x0000000180143df0 _dispatch_client_callout4 + 16
	13  libdispatch.dylib                   0x0000000180160cb0 _dispatch_mach_msg_invoke + 620
	14  libdispatch.dylib                   0x000000018014bbcc _dispatch_lane_serial_drain + 336
	15  libdispatch.dylib                   0x0000000180161d70 _dispatch_mach_invoke + 464
	16  libdispatch.dylib                   0x000000018014bbcc _dispatch_lane_serial_drain + 336
	17  libdispatch.dylib                   0x000000018014c9b4 _dispatch_lane_invoke + 388
	18  libdispatch.dylib                   0x0000000180157d40 _dispatch_root_queue_drain_deferred_wlh + 276
	19  libdispatch.dylib                   0x000000018015738c _dispatch_workloop_worker_thread + 448
	20  libsystem_pthread.dylib             0x00000001056cb924 _pthread_wqthread + 284
	21  libsystem_pthread.dylib             0x00000001056ca6e4 start_wqthread + 8
)
libc++abi: terminating due to uncaught exception of type NSException

REPRODUCIBILITY:

I have been unable to reproduce this issue locally as of yet.

REGRESSION:

This test has been crashing since before iOS 16, so I'm not able to locate a clear regression point; however, it is crashing significantly more on iOS 17.
Comment 1 Radar WebKit Bug Importer 2024-02-01 13:18:01 PST
<rdar://problem/122127465>
Comment 2 EWS 2024-02-01 17:18:46 PST
Test gardening commit 273963@main (04fe52e0f160): <https://commits.webkit.org/273963@main>

Reviewed commits have been landed. Closing PR #23709 and removing active labels.
Comment 3 Alexey Proskuryakov 2024-02-05 09:50:11 PST
This test was added for bug 202039.
Comment 4 Ben Schwartz 2024-02-16 17:19:54 PST
*** Bug 269615 has been marked as a duplicate of this bug. ***