question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Chromium crashes on m1

See original GitHub issue

Context:

  • Playwright Version: 1.21.1
  • Operating System: macOS 12.3.1 (m1)
  • Node.js version: 14.18
  • Browser: All

Error:

browserType.launch: Browser closed.
    ==================== Browser output: ====================
    <launching> /Users/itamar/Library/Caches/ms-playwright/chromium-1000/chrome-mac/Chromium.app/Contents/MacOS/Chromium --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 --enable-use-zoom-for-dsf=false --headless --hide-scrollbars --mute-audio --blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox --user-data-dir=/var/folders/yc/f641w9g12dq5y0g8gyc8k9kh0000gn/T/playwright_chromiumdev_profile-WovbFH --remote-debugging-pipe --no-startup-window
    <launched> pid=33356
    =========================== logs ===========================
    <launching> /Users/itamar/Library/Caches/ms-playwright/chromium-1000/chrome-mac/Chromium.app/Contents/MacOS/Chromium --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 --enable-use-zoom-for-dsf=false --headless --hide-scrollbars --mute-audio --blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox --user-data-dir=/var/folders/yc/f641w9g12dq5y0g8gyc8k9kh0000gn/T/playwright_chromiumdev_profile-WovbFH --remote-debugging-pipe --no-startup-window
    <launched> pid=33356
    ============================================================

I can’t run tests, even the example test from the docs

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:4
  • Comments:17 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
aslushnikovcommented, May 31, 2022

It doesn’t look we can help much here, so closing this.

1reaction
rwollcommented, May 16, 2022

For completeness, please remove the browser cache folder:

rm -rf /Users/itamar/Library/Caches/ms-playwright

And, from a fresh directory/project attempt https://playwright.dev/docs/library and report if it fails in the same way or if there is another error.

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

11 Fix Google Chrome Crashing on Mac Ventura M1 & Intel ...
1. Inspect Memory Outage · 2. Clear Chrome Data · 3. Reinstall Chrome · 4. Disable Extension · 5. Try in Private Browsing...
Read more >
Chrome Browser Crashing or Not Working on Macbook (M1 ...
Fix: Chrome Browser Crashing or Not Working on Macbook (M1 and M1 Max Series) · 1. Clear Chrome Browser Data · 2. Check...
Read more >
Chrome keeps crashing on M1 macbook pro - Apple Community
Multiple crashes, multiple restart loops. Virtually unusable. M1 mac mini running chrome is crashing browser too often for comfort. Have ...
Read more >
Google Chrome crashing on M1 MacBook? Try ... - PiunikaWeb
Some M1 MacBook owners say Google Chrome is crashing for them. If you are affected by the same issue, read on for some...
Read more >
Chrome Crashing on M1 Pro : r/mac - Reddit
Recently bought an M1 Pro MBP, and I've noticed that every day and multiple times a day, Chrome crashes out of nowhere (I'm...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found