Bug 234888 - MiniBrowser crashes immediately after starting on Windows 7 (WinCairo)
Summary: MiniBrowser crashes immediately after starting on Windows 7 (WinCairo)
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Local Build
Hardware: PC Other
: P2 Blocker
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-05 10:30 PST by conojab991
Modified: 2022-01-05 12:05 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description conojab991 2022-01-05 10:30:24 PST
MiniBrowser crashes immediately after starting on Windows 7. I tried the same build on a Windows 11 machine and it worked fine. Below are the crash details.

Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	WebKitGPUProcess.exe
  Application Version:	0.0.0.0
  Application Timestamp:	61cccfe7
  Fault Module Name:	WebKit2.dll
  Fault Module Version:	0.0.0.0
  Fault Module Timestamp:	61cf9fcf
  Exception Code:	c0000005
  Exception Offset:	000000000009dc43
  OS Version:	6.1.7601.2.1.0.256.48
  Locale ID:	1033
  Additional Information 1:	1aed
  Additional Information 2:	1aed6afc969eae30c2ef855195f921e6
  Additional Information 3:	97f6
  Additional Information 4:	97f60414a8c8a8a85b0e0ed0b58be636

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt
Comment 1 Fujii Hironori 2022-01-05 12:01:24 PST
Thank you very much for the bug reporting.
Can you use Visual Studio debugger?
Can you post a backrace of the crash?

The start page of MiniBrowser is https://webkit.org/ .
This page enables Accelarated Compositing automatically, and uses GPU process.

What will happen in simple pages that don't need Accelarated Compositing?
For example,
> MiniBrowser.exe https://webkit.org/reporting-bugs/

Or, what will happen if you disable GPU process by changing the registry keys.

> reg add HKEY_CURRENT_USER\Software\WebKit /v gpu_process_canvas_rendering /t REG_DWORD /d 0 /f
> reg add HKEY_CURRENT_USER\Software\WebKit /v gpu_process_webgl /t REG_DWORD /d 0 /f

You can restore the original behavior with the following commands:

> reg delete HKEY_CURRENT_USER\Software\WebKit /v gpu_process_canvas_rendering /f
> reg delete HKEY_CURRENT_USER\Software\WebKit /v gpu_process_webgl /f

What about WinCairo WebKit1?

> MiniBrowser.exe --wk1 https://webkit.org/reporting-bugs/
Comment 2 Fujii Hironori 2022-01-05 12:05:55 PST
> What will happen in simple pages that don't need Accelarated Compositing?
> For example,
> > MiniBrowser.exe https://webkit.org/reporting-bugs/

If this doesn't crash,
what if I you disalbe Accelerated Compositing by using Menu item after starting MiniBrowser?

Menu → Debug → Use Accelerated Compositing