Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] webkit crashes when loading a standard Drupal 9 admin page #13060

Closed
ptmkenny opened this issue Mar 25, 2022 · 5 comments
Closed

[BUG] webkit crashes when loading a standard Drupal 9 admin page #13060

ptmkenny opened this issue Mar 25, 2022 · 5 comments

Comments

@ptmkenny
Copy link

ptmkenny commented Mar 25, 2022

Context:

System:

  • OS: Linux 5.10 Ubuntu 20.04.4 LTS (Focal Fossa)
  • Memory: 12.46 GB / 15.58 GB
  • Container: Yes

Binaries:

  • Node: 16.14.1 - /usr/bin/node
  • npm: 8.5.0 - /usr/bin/npm

Languages:

  • Bash: 5.0.17 - /usr/bin/bash

npmPackages:

  • playwright: ^1.12.3 => 1.20.0

Code Snippet

import { test } from '@playwright/test';

const testDomain = 'https://dev-playwright-debug.pantheonsite.io/';

test('Fix the login', async ({ page }, workerInfo) => {
  await page.goto(`${testDomain}user/login`);
  await page.locator('input[name="name"]').fill('administrator');
  await page.locator('input[name="pass"]').fill('password');
  await page.locator('input:has-text("Log in")').click();
  await page.locator('h1.page-title:has-text("administrator")');
  await page.goto(`${testDomain}admin/structure`, { "waitUntil": "networkidle"});
  await page.waitForSelector('h1.page-title:has-text("Structure")');
});

Describe the bug

When I run the test above using WebKit, it crashes with the following error:

    page.waitForSelector: Target closed

Chrome + Firefox work fine.

The test logs in to a standard Drupal 9 site as an administrator and navigates to an admin page, but Playwright/webkit crashes before the page can be loaded.

The test used in the site is the current release of Drupal 9 freshly installed with no modifications. The JS is limited to some basic jquery and the standard Drupal boilerplate. Logging in to this website in Safari normally on desktop or mobile works fine. More context in this Stack Overflow question

@ptmkenny ptmkenny changed the title [BUG] [BUG] webkit crashes when loading a standard Drupal 9 admin page Mar 25, 2022
@dgozman
Copy link
Contributor

dgozman commented Mar 25, 2022

@ptmkenny Could you please run with DEBUG=pw:browser* environment variable and post any logs here?

@ptmkenny
Copy link
Author

@dgozman Here's the results for desktop Safari (fails), Chrome (succeeds), iOS (fails), and Android (succeeds).

Running 4 tests using 2 workers
[Chrome Desktop] › tests/login.spec.ts:5:1 › Fix the login
  pw:browser <launching> /home/anon/.cache/ms-playwright/chromium-978106/chrome-linux/chrome --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --no-sandbox --user-data-dir=/tmp/playwright_chromiumdev_profile-PtZBlk --remote-debugging-pipe --no-startup-window +0ms
  pw:browser <launched> pid=12915 +4ms
  pw:browser [pid=12915][err] [12915:12962:0326/002059.614875:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory +85ms
  pw:browser [pid=12915][err] [12915:12962:0326/002059.614983:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory +0ms
  pw:browser [pid=12915][err] [12915:12961:0326/002059.617280:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") +2ms
  pw:browser [pid=12915][err] [12915:12961:0326/002059.617371:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") +0ms
  pw:browser [pid=12915][err] [12915:12961:0326/002059.685754:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") +68ms
  pw:browser [pid=12915][err] [12915:12961:0326/002059.685799:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") +1ms
[Safari Desktop] › tests/login.spec.ts:5:1 › Fix the login
  pw:browser <launching> /home/anon/.cache/ms-playwright/webkit-1616/pw_run.sh --inspector-pipe --no-startup-window +0ms
  pw:browser <launched> pid=13061 +4ms
[Chrome Desktop] › tests/login.spec.ts:5:1 › Fix the login
  pw:browser [pid=12915][err] [12915:13081:0326/002059.697557:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory +12ms
  pw:browser [pid=12915][err] [12915:13081:0326/002059.697591:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory +0ms
  pw:browser [pid=12915][err] [12915:13081:0326/002059.697632:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory +0ms
  pw:browser [pid=12915][err] [12915:13081:0326/002059.697664:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory +0ms
  pw:browser [pid=12915][err] [12915:13081:0326/002059.697682:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory +1ms
  pw:browser [pid=12915][err] WARNING: lavapipe is not a conformant vulkan implementation, testing use only. +47ms
  pw:browser [pid=12915][err] libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) +8ms
  pw:browser [pid=12915][err] [13045:13045:0326/002059.757002:ERROR:viz_main_impl.cc(185)] Exiting GPU process due to errors during initialization +3ms
  pw:browser <launching> /home/anon/.cache/ms-playwright/ffmpeg-1007/ffmpeg-linux -loglevel error -f image2pipe -avioflags direct -fpsprobesize 0 -probesize 32 -analyzeduration 0 -c:v mjpeg -i - -y -an -r 25 -c:v vp8 -qmin 0 -qmax 50 -crf 8 -deadline realtime -speed 8 -b:v 1M -threads 1 -vf pad=800:450:0:0:gray,crop=800:450:0:0 /home/anon/d/ionic/tests/results/.playwright-artifacts-0/7aec15f46782c45806794551565426ee.webm +26ms
  pw:browser <launched> pid=13161 +3ms
  pw:browser [pid=12915][err] [12915:12961:0326/002059.829909:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") +44ms
  pw:browser [pid=12915][err] [12915:12961:0326/002059.829965:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") +0ms
  pw:browser [pid=12915][err] WARNING: lavapipe is not a conformant vulkan implementation, testing use only. +7ms
  pw:browser [pid=12915][err] libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) +6ms
  pw:browser [pid=12915][err] [13157:13157:0326/002059.846066:ERROR:viz_main_impl.cc(185)] Exiting GPU process due to errors during initialization +3ms
  pw:browser [pid=12915][err] WARNING: lavapipe is not a conformant vulkan implementation, testing use only. +53ms
  pw:browser [pid=12915][err] libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) +5ms
  pw:browser [pid=12915][err] [13193:13193:0326/002059.907496:ERROR:viz_main_impl.cc(185)] Exiting GPU process due to errors during initialization +3ms
  pw:browser [pid=12915][err] libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) +40ms
  pw:browser [pid=12915][err] [13226:13226:0326/002059.956946:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported. +10ms
  pw:browser [pid=12915][err] [13125:13149:0326/002059.962822:ERROR:command_buffer_proxy_impl.cc(125)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer. +6ms
  pw:browser writing frame 1648221660.002012 +47ms
  pw:browser writing frame 1648221660.032236 +26ms
  pw:browser writing frame 1648221660.546768 +514ms
  pw:browser writing frame 1648221660.592621 +46ms
  pw:browser writing frame 1648221660.609515 +17ms
  pw:browser writing frame 1648221660.625269 +16ms
  pw:browser writing frame 1648221660.641814 +16ms
  pw:browser writing frame 1648221660.656084 +14ms
  pw:browser writing frame 1648221660.679813 +24ms
  pw:browser writing frame 1648221662.057759 +1s
  pw:browser writing frame 1648221662.259627 +202ms
  pw:browser writing frame 1648221662.279701 +20ms
  pw:browser writing frame 1648221662.293813 +14ms
  pw:browser writing frame 1648221662.500302 +207ms
  pw:browser writing frame 1648221662.523731 +23ms
  pw:browser writing frame 1648221662.62692 +104ms
  pw:browser writing frame 1648221662.644263 +17ms
  pw:browser writing frame 1648221662.660252 +16ms
  pw:browser writing frame 1648221663.275833 +616ms
  pw:browser writing frame 1648221663.3383658 +63ms
  pw:browser [pid=13161] <gracefully close start> +0ms
  pw:browser Closing stdin... +0ms
  pw:browser ffmpeg finished input. +4ms
  pw:browser [pid=13161] <process did exit: exitCode=0, signal=null> +17ms
  pw:browser ffmpeg onkill exitCode=0 signal=null +0ms
  pw:browser [pid=13161] starting temporary directories cleanup +0ms
  pw:browser [pid=13161] finished temporary directories cleanup +0ms
  pw:browser [pid=13161] <gracefully close end> +0ms
  pw:browser [pid=12915] <gracefully close start> +6ms
  pw:browser [pid=12915] <process did exit: exitCode=0, signal=null> +167ms
  pw:browser [pid=12915] starting temporary directories cleanup +0ms
  pw:browser [pid=12915] finished temporary directories cleanup +27ms
  pw:browser [pid=12915] <gracefully close end> +0ms
[iPhone 6/7/8] › tests/login.spec.ts:5:1 › Fix the login
  pw:browser <launching> /home/anon/.cache/ms-playwright/webkit-1616/pw_run.sh --inspector-pipe --no-startup-window +0ms
  pw:browser <launched> pid=13544 +3ms
[Safari Desktop] › tests/login.spec.ts:5:1 › Fix the login
  pw:browser [pid=13061][err] Gdk-Message: 00:21:04.597: Error reading events from display: Broken pipe +5s
  pw:browser [pid=13061][err] Gdk-Message: 00:21:04.637: Error reading events from display: Broken pipe +40ms
  pw:browser [pid=13061] <process did exit: exitCode=1, signal=null> +63ms
  pw:browser [pid=13061] starting temporary directories cleanup +0ms
  pw:browser [pid=13061] finished temporary directories cleanup +14ms
  1) [Safari Desktop] › tests/login.spec.ts:5:1 › Fix the login ====================================

    page.goto: Navigation failed because page was closed!
    =========================== logs ===========================
    navigating to "https://dev-playwright-debug.pantheonsite.io/admin/structure", waiting until "networkidle"
    ============================================================

       9 |   await page.locator('input:has-text("Log in")').click();
      10 |   await page.locator('h1.page-title:has-text("administrator")');
    > 11 |   await page.goto(`${testDomain}admin/structure`, { waitUntil: 'networkidle' });
         |              ^
      12 |   await page.waitForSelector('h1.page-title:has-text("Structure")');
      13 | });
      14 |

        at /home/anon/d/ionic/tests/playwright/tests/login.spec.ts:11:14

    attachment #1: trace (application/zip) ---------------------------------------------------------
    tests/results/tests-login-Fix-the-login-Safari-Desktop/trace.zip
    Usage:

        npx playwright show-trace tests/results/tests-login-Fix-the-login-Safari-Desktop/trace.zip

    ------------------------------------------------------------------------------------------------

[iPhone 6/7/8] › tests/login.spec.ts:5:1 › Fix the login
  pw:browser [pid=13544][err] Gdk-Message: 00:21:04.808: Lost connection to Wayland compositor. +829ms
  pw:browser [pid=13544] <process did exit: exitCode=1, signal=null> +45ms
  pw:browser [pid=13544] starting temporary directories cleanup +1ms
  pw:browser [pid=13544] finished temporary directories cleanup +11ms
  2) [iPhone 6/7/8] › tests/login.spec.ts:5:1 › Fix the login ======================================

    browserContext.newPage: Browser closed.
    ==================== Browser output: ====================
    <launching> /home/anon/.cache/ms-playwright/webkit-1616/pw_run.sh --inspector-pipe --no-startup-window
    <launched> pid=13544
    [pid=13544][err] Gdk-Message: 00:21:04.808: Lost connection to Wayland compositor.




    attachment #1: trace (application/zip) ---------------------------------------------------------
    tests/results/tests-login-Fix-the-login-iPhone-6-7-8/trace.zip
    Usage:

        npx playwright show-trace tests/results/tests-login-Fix-the-login-iPhone-6-7-8/trace.zip

    ------------------------------------------------------------------------------------------------

[Pixel 2] › tests/login.spec.ts:5:1 › Fix the login
  pw:browser <launching> /home/anon/.cache/ms-playwright/chromium-978106/chrome-linux/chrome --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --no-sandbox --user-data-dir=/tmp/playwright_chromiumdev_profile-PcFtKL --remote-debugging-pipe --no-startup-window +0ms
  pw:browser <launched> pid=13675 +4ms
  pw:browser [pid=13675][err] [13675:13734:0326/002107.881724:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory +3s
  pw:browser [pid=13675][err] [13675:13734:0326/002107.881829:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory +0ms
  pw:browser [pid=13675][err] [13675:13733:0326/002107.884616:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") +2ms
  pw:browser [pid=13675][err] [13675:13733:0326/002107.884669:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") +1ms
  pw:browser [pid=13675][err] [13675:13733:0326/002107.895145:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") +10ms
  pw:browser [pid=13675][err] [13675:13733:0326/002107.895189:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") +0ms
  pw:browser [pid=13675][err] [13675:13763:0326/002107.910735:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory +16ms
  pw:browser [pid=13675][err] [13675:13763:0326/002107.910784:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory +0ms
  pw:browser [pid=13675][err] [13675:13763:0326/002107.910818:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory +0ms
  pw:browser [pid=13675][err] [13675:13763:0326/002107.910873:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory +0ms
  pw:browser [pid=13675][err] [13675:13763:0326/002107.910899:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory +1ms
  pw:browser [pid=13675][err] WARNING: lavapipe is not a conformant vulkan implementation, testing use only. +46ms
  pw:browser [pid=13675][err] libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) +7ms
  pw:browser [pid=13675][err] [13743:13743:0326/002107.968356:ERROR:viz_main_impl.cc(185)] Exiting GPU process due to errors during initialization +3ms
  pw:browser <launching> /home/anon/.cache/ms-playwright/ffmpeg-1007/ffmpeg-linux -loglevel error -f image2pipe -avioflags direct -fpsprobesize 0 -probesize 32 -analyzeduration 0 -c:v mjpeg -i - -y -an -r 25 -c:v vp8 -qmin 0 -qmax 50 -crf 8 -deadline realtime -speed 8 -b:v 1M -threads 1 -vf pad=410:730:0:0:gray,crop=410:730:0:0 /home/anon/d/ionic/tests/results/.playwright-artifacts-3/131fef41ad046e6b063ff61ec77a436c.webm +29ms
  pw:browser <launched> pid=13825 +5ms
  pw:browser [pid=13675][err] WARNING: lavapipe is not a conformant vulkan implementation, testing use only. +34ms
  pw:browser [pid=13675][err] libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) +11ms
  pw:browser [pid=13675][err] [13822:13822:0326/002108.049929:ERROR:viz_main_impl.cc(185)] Exiting GPU process due to errors during initialization +3ms
  pw:browser [pid=13675][err] [13675:13733:0326/002108.058518:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") +8ms
  pw:browser [pid=13675][err] [13675:13733:0326/002108.058580:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") +1ms
  pw:browser [pid=13675][err] WARNING: lavapipe is not a conformant vulkan implementation, testing use only. +35ms
  pw:browser [pid=13675][err] libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) +6ms
  pw:browser [pid=13675][err] [13857:13857:0326/002108.102915:ERROR:viz_main_impl.cc(185)] Exiting GPU process due to errors during initialization +3ms
  pw:browser [pid=13675][err] libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) +32ms
  pw:browser [pid=13675][err] [13890:13890:0326/002108.140595:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported. +6ms
  pw:browser [pid=13675][err] [13791:13809:0326/002108.143826:ERROR:command_buffer_proxy_impl.cc(125)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer. +3ms
  pw:browser writing frame 1648221668.172849 +31ms
  pw:browser writing frame 1648221668.188042 +15ms
  pw:browser writing frame 1648221668.819285 +632ms
  pw:browser writing frame 1648221668.853999 +34ms
  pw:browser writing frame 1648221668.880203 +27ms
  pw:browser writing frame 1648221668.891205 +11ms
  pw:browser writing frame 1648221668.938849 +48ms
  pw:browser writing frame 1648221668.953506 +14ms
  pw:browser writing frame 1648221669.118048 +165ms
  pw:browser writing frame 1648221669.137058 +19ms
  pw:browser writing frame 1648221669.152085 +14ms
  pw:browser writing frame 1648221669.169634 +18ms
  pw:browser writing frame 1648221669.187399 +18ms
  pw:browser writing frame 1648221669.203076 +15ms
  pw:browser writing frame 1648221669.219247 +16ms
  pw:browser writing frame 1648221669.237587 +19ms
  pw:browser writing frame 1648221669.252805 +15ms
  pw:browser writing frame 1648221669.269741 +17ms
  pw:browser writing frame 1648221669.368903 +100ms
  pw:browser writing frame 1648221669.667507 +298ms
  pw:browser writing frame 1648221669.674031 +6ms
  pw:browser writing frame 1648221670.242502 +570ms
  pw:browser writing frame 1648221670.262895 +20ms
  pw:browser writing frame 1648221670.354533 +94ms
  pw:browser writing frame 1648221670.369695 +14ms
  pw:browser writing frame 1648221670.386629 +17ms
  pw:browser writing frame 1648221670.403328 +16ms
  pw:browser writing frame 1648221670.419042 +15ms
  pw:browser writing frame 1648221670.592593 +174ms
  pw:browser writing frame 1648221671.254279 +662ms
  pw:browser writing frame 1648221671.371588 +118ms
  pw:browser [pid=13825] <gracefully close start> +0ms
  pw:browser Closing stdin... +0ms
  pw:browser ffmpeg finished input. +13ms
  pw:browser [pid=13825] <process did exit: exitCode=0, signal=null> +8ms
  pw:browser ffmpeg onkill exitCode=0 signal=null +0ms
  pw:browser [pid=13825] starting temporary directories cleanup +0ms
  pw:browser [pid=13825] finished temporary directories cleanup +1ms
  pw:browser [pid=13825] <gracefully close end> +0ms
  pw:browser [pid=13675] <gracefully close start> +5ms
  pw:browser [pid=13675] <process did exit: exitCode=0, signal=null> +167ms
  pw:browser [pid=13675] starting temporary directories cleanup +0ms
  pw:browser [pid=13675] finished temporary directories cleanup +25ms
  pw:browser [pid=13675] <gracefully close end> +0ms

  2 failed
    [Safari Desktop] › tests/login.spec.ts:5:1 › Fix the login =====================================
    [iPhone 6/7/8] › tests/login.spec.ts:5:1 › Fix the login =======================================
  2 passed (12s)

@dgozman
Copy link
Contributor

dgozman commented Mar 26, 2022

@ptmkenny Something's up with WebKit connecting to your display. Try the following, perhaps it would give us a clue?

  • npx playwright wk and navigate to your page;
  • /home/anon/.cache/ms-playwright/webkit-1616/pw_run.sh and navigate to your page.

@ptmkenny
Copy link
Author

ptmkenny commented Mar 26, 2022

@dgozman Thanks.

First, I tried /home/anon/.cache/ms-playwright/webkit-1616/pw_run.sh:

  1. Go to https://dev-playwright-debug.pantheonsite.io/user/login with "administrator" "password".
  2. After logging in, in the toolbar that appears at the top of the screen, click "Structure".

The page immediately crashes with this error in the terminal:

Gdk-Message: 12:44:19.464: Error reading events from display: Broken pipe
Gdk-Message: 12:44:19.464: Error reading events from display: Broken pipe

I also tried npx playwright wk which produced the same result, although this didn't print out any particular errors.

I should note I'm running Playwright on the latest release version of Windows 11 via WSL2/Ubuntu.

@ptmkenny
Copy link
Author

Yesterday, after updating all packages on ubuntu to the latest versions, I no longer get this problem; the webkit tests resolve normally as expected. Unfortunately, I'm not sure of which package was updated to fix the issue, but I'll close this out as it seems to be OS-specific and the result of packages interfering with each other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants