Bug 231822 - [ iOS15 Release ] imported/w3c/web-platform-tests/html/webappapis/user-prompts/print-during-unload.html is a flaky crash (no data while reading stdout for the server process)
Summary: [ iOS15 Release ] imported/w3c/web-platform-tests/html/webappapis/user-prompt...
Status: RESOLVED DUPLICATE of bug 231684
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-10-15 11:25 PDT by Eric Hutchison
Modified: 2021-11-03 13:25 PDT (History)
8 users (show)

See Also:


Attachments
STDIO (13.01 MB, text/plain)
2021-10-15 11:25 PDT, Eric Hutchison
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Hutchison 2021-10-15 11:25:42 PDT
Created attachment 441407 [details]
STDIO

imported/w3c/web-platform-tests/html/webappapis/user-prompts/print-during-unload.html

is a flaky crash on iOS15 Release.

History: https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fwebappapis%2Fuser-prompts%2Fprint-during-unload.html&platform=ios&platform=mac

Build: https://build.webkit.org/#/builders/268/builds/177

Results: https://build.webkit.org/results/Apple-iOS-15-Simulator-Release-WK2-Tests/r284242%20(177)/results.html

Crash Log: none available:
No crash log found for GPUProcess:29969.

STDIO (attached):

08:54:02.711 13239 worker/2 GPUProcess crash, pid = 29969
08:54:02.789 13239 worker/2 This test marked as a crash because of no data while reading stdout for the server process.
08:54:02.789 13239 worker/2 This test marked as a crash because of no data while reading stdout for the server process.

08:54:42.845 13239 worker/2 worker/2 imported/w3c/web-platform-tests/html/webappapis/user-prompts/print-during-unload.html crashed, (no stderr)
08:54:42.846 13239 [44654/56664] imported/w3c/web-platform-tests/html/webappapis/user-prompts/print-during-unload.html failed unexpectedly (GPUProcess crashed [pid=29969])
08:54:42.846 13239 worker/2 killing driver

08:54:46.954 13239 worker/2 imported/w3c/web-platform-tests/html/webappapis/user-prompts/print-during-unload.html failed:
08:54:46.954 13239 worker/2 GPUProcess crashed [pid=29969]

There have been many bugs with similar diff stating "This test marked as a crash because of no data while reading stdout for the server process."

Not sure if this is related to WebGPU as all of these bugs have reported a GPUProcess crash.
Comment 1 Radar WebKit Bug Importer 2021-10-15 11:29:54 PDT
<rdar://problem/84310322>
Comment 2 Eric Hutchison 2021-10-15 17:27:59 PDT
Unable to reproduce the test result locally using iOS15.
Comment 3 Eric Hutchison 2021-11-03 13:03:09 PDT

*** This bug has been marked as a duplicate of bug 231684 ***
Comment 4 Wenson Hsieh 2021-11-03 13:25:31 PDT
(In reply to Eric Hutchison from comment #0)
> Created attachment 441407 [details]
> STDIO
> 
> imported/w3c/web-platform-tests/html/webappapis/user-prompts/print-during-
> unload.html
> 
> is a flaky crash on iOS15 Release.

This one is crashing under RTC:

```
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.WebKit              	0x000000010af3b503 operator! + 7 (RefPtr.h:85) [inlined]
1   com.apple.WebKit              	0x000000010af3b503 WebKit::GPUProcess::libWebRTCCodecsQueue() + 11 (GPUProcess.cpp:431)
2   com.apple.WebKit              	0x000000010ae3cd1a WebKit::LibWebRTCCodecsProxy::LibWebRTCCodecsProxy(WebKit::GPUConnectionToWebProcess&) + 62 (LibWebRTCCodecsProxy.mm:48)
3   com.apple.WebKit              	0x000000010af379cf create + 24 (LibWebRTCCodecsProxy.h:57) [inlined]
4   com.apple.WebKit              	0x000000010af379cf WebKit::GPUConnectionToWebProcess::GPUConnectionToWebProcess(WebKit::GPUProcess&, WTF::ObjectIdentifier<WebCore::ProcessIdentifierType>, IPC::Connection::Identifier, PAL::SessionID, WebKit::GPUProcessConnectionParameters&&) + 237 (GPUConnectionToWebProcess.cpp:225)
5   com.apple.WebKit              	0x000000010af378c1 GPUConnectionToWebProcess + 23 (GPUConnectionToWebProcess.cpp:236) [inlined]
6   com.apple.WebKit              	0x000000010af378c1 WebKit::GPUConnectionToWebProcess::create(WebKit::GPUProcess&, WTF::ObjectIdentifier<WebCore::ProcessIdentifierType>, IPC::Connection::Identifier, PAL::SessionID, WebKit::GPUProcessConnectionParameters&&) + 145 (GPUConnectionToWebProcess.cpp:212)
7   com.apple.WebKit              	0x000000010af3a378 WebKit::GPUProcess::createGPUConnectionToWebProcess(WTF::ObjectIdentifier<WebCore::ProcessIdentifierType>, PAL::SessionID, WebKit::GPUProcessConnectionParameters&&, WTF::CompletionHandler<void (std::__1::optional<IPC::Attachment>&&, WebKit::GPUProcessConnectionInitializationParameters&&)>&&) + 320 (GPUProcess.cpp:119)
8   com.apple.WebKit              	0x000000010af05b9f void IPC::callMemberFunctionImpl<WebKit::GPUProcess, void (WebKit::GPUProcess::*)(WTF::ObjectIdentifier<WebCore::ProcessIdentifierType>, PAL::SessionID, WebKit::GPUProcessConnectionParameters&&, WTF::CompletionHandler<void (std::__1::optional<IPC::Attachment>&&, WebKit::GPUProcessConnectionInitializationParameters&&)>&&), void (std::__1::optional<IPC::Attachment> const&, WebKit::GPUProcessConnectionInitializationParameters const&), std::__1::tuple<WTF::ObjectIdentifier<WebCore::ProcessIdentifierType>, PAL::SessionID, WebKit::GPUProcessConnectionParameters>, 0ul, 1ul, 2ul>(WebKit::GPUProcess*, void (WebKit::GPUProcess::*)(WTF::ObjectIdentifier<WebCore::ProcessIdentifierType>, PAL::SessionID, WebKit::GPUProcessConnectionParameters&&, WTF::CompletionHandler<void (std::__1::optional<IPC::Attachment>&&, WebKit::GPUProcessConnectionInitializationParameters&&)>&&), WTF::CompletionHandler<void (std::__1::optional<IPC::Attachment> const&, WebKit::GPUProcessConnectionInitializationParameters const&)>&&, std::__1::tuple<WTF::ObjectIdentifier<WebCore::ProcessIdentifierType>, PAL::SessionID, WebKit::GPUProcessConnectionParameters>&&, std::__1::integer_sequence<unsigned long, 0ul, 1ul, 2ul>) + 122 (HandleMessage.h:139)
9   com.apple.WebKit              	0x000000010af01ce3 callMemberFunction<WebKit::GPUProcess, void (WebKit::GPUProcess::*)(WTF::ObjectIdentifier<WebCore::ProcessIdentifierType>, PAL::SessionID, WebKit::GPUProcessConnectionParameters &&, WTF::CompletionHandler<void (std::optional<IPC::Attachment> &&, WebKit::GPUProcessConnectionInitializationParameters &&)> &&), void (const std::optional<IPC::Attachment> &, const WebKit::GPUProcessConnectionInitializationParameters &), std::tuple<WTF::ObjectIdentifier<WebCore::ProcessIdentifierType>, PAL::SessionID, WebKit::GPUProcessConnectionParameters>, std::integer_sequence<unsigned long, 0, 1, 2> > + 8 (HandleMessage.h:145) [inlined]
10  com.apple.WebKit              	0x000000010af01ce3 void IPC::handleMessageAsync<Messages::GPUProcess::CreateGPUConnectionToWebProcess, WebKit::GPUProcess, void (WebKit::GPUProcess::*)(WTF::ObjectIdentifier<WebCore::ProcessIdentifierType>, PAL::SessionID, WebKit::GPUProcessConnectionParameters&&, WTF::CompletionHandler<void (std::__1::optional<IPC::Attachment>&&, WebKit::GPUProcessConnectionInitializationParameters&&)>&&)>(IPC::Connection&, IPC::Decoder&, WebKit::GPUProcess*, void (WebKit::GPUProcess::*)(WTF::ObjectIdentifier<WebCore::ProcessIdentifierType>, PAL::SessionID, WebKit::GPUProcessConnectionParameters&&, WTF::CompletionHandler<void (std::__1::optional<IPC::Attachment>&&, WebKit::GPUProcessConnectionInitializationParameters&&)>&&)) + 175 (HandleMessage.h:290)
11  com.apple.WebKit              	0x000000010af01851 WebKit::GPUProcess::didReceiveGPUProcessMessage(IPC::Connection&, IPC::Decoder&) + 159 (GPUProcessMessageReceiver.cpp:139)
12  com.apple.WebKit              	0x000000010ae2e8a4 IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >) + 238 (Connection.cpp:1103)
13  com.apple.WebKit              	0x000000010ae2b598 IPC::Connection::SyncMessageState::ConnectionAndIncomingMessage::dispatch() + 42 (Connection.cpp:124)
14  com.apple.WebKit              	0x000000010ae2b7c1 IPC::Connection::SyncMessageState::dispatchMessagesAndResetDidScheduleDispatchMessagesForConnection(IPC::Connection&) + 515 (Connection.cpp:240)
```

> 
> History:
> https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-
> platform-tests%2Fhtml%2Fwebappapis%2Fuser-prompts%2Fprint-during-unload.
> html&platform=ios&platform=mac
> 
> Build: https://build.webkit.org/#/builders/268/builds/177
> 
> Results:
> https://build.webkit.org/results/Apple-iOS-15-Simulator-Release-WK2-Tests/
> r284242%20(177)/results.html
> 
> Crash Log: none available:
> No crash log found for GPUProcess:29969.
> 
> STDIO (attached):
> 
> 08:54:02.711 13239 worker/2 GPUProcess crash, pid = 29969
> 08:54:02.789 13239 worker/2 This test marked as a crash because of no data
> while reading stdout for the server process.
> 08:54:02.789 13239 worker/2 This test marked as a crash because of no data
> while reading stdout for the server process.
> 
> 08:54:42.845 13239 worker/2 worker/2
> imported/w3c/web-platform-tests/html/webappapis/user-prompts/print-during-
> unload.html crashed, (no stderr)
> 08:54:42.846 13239 [44654/56664]
> imported/w3c/web-platform-tests/html/webappapis/user-prompts/print-during-
> unload.html failed unexpectedly (GPUProcess crashed [pid=29969])
> 08:54:42.846 13239 worker/2 killing driver
> 
> 08:54:46.954 13239 worker/2
> imported/w3c/web-platform-tests/html/webappapis/user-prompts/print-during-
> unload.html failed:
> 08:54:46.954 13239 worker/2 GPUProcess crashed [pid=29969]
> 
> There have been many bugs with similar diff stating "This test marked as a
> crash because of no data while reading stdout for the server process."
> 
> Not sure if this is related to WebGPU as all of these bugs have reported a
> GPUProcess crash.

GPU Process is unrelated to WebGPU.