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]: Target page, context or browser has been closed #33515

Open
manuelmeurer opened this issue Nov 8, 2024 · 4 comments
Open

[Bug]: Target page, context or browser has been closed #33515

manuelmeurer opened this issue Nov 8, 2024 · 4 comments
Labels
browser-chromium upstream This is a bug in something playwright depends on, like a browser.

Comments

@manuelmeurer
Copy link

Version

1.48.2

Steps to reproduce

  • npx playwright install --with-deps chromium
  • npx playwright pdf https://google.com test.pdf

Expected behavior

No error

Actual behavior

$ npx playwright pdf https://google.com test.pdf

Error: t.parse: Target page, context or browser has been closed
Browser logs:

<launching> /home/deploy/.cache/ms-playwright/chromium-1140/chrome-linux/chrome --disable-field-trial-config --disable-background-networking --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate,HttpsUpgrades,PaintHolding,ThirdPartyStoragePartitioning,LensOverlay,PlzDedicatedWorker --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --disable-search-engine-choice-screen --unsafely-disable-devtools-self-xss-warnings --headless=old --hide-scrollbars --mute-audio --blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox --user-data-dir=/tmp/playwright_chromiumdev_profile-IXqM0M --remote-debugging-pipe --no-startup-window
<launched> pid=190701
[pid=190701][err] Old Headless mode will be removed from the Chrome binary soon. Please use the new Headless mode (https://developer.chrome.com/docs/chromium/new-headless) or the chrome-headless-shell which is a standalone implementation of the old Headless mode (https://developer.chrome.com/blog/chrome-headless-shell).
[pid=190701][err]
[pid=190701][err] Received signal 11 SEGV_MAPERR 0000000024a0
[pid=190701][err] #0 0x6052ddd94152 base::debug::CollectStackTrace()
[pid=190701][err] #1 0x6052ddd8190e base::debug::StackTrace::StackTrace()
[pid=190701][err] #2 0x6052ddd93b61 base::debug::(anonymous namespace)::StackDumpSignalHandler()
[pid=190701][err] #3 0x78d7fda45320 (/usr/lib/x86_64-linux-gnu/libc.so.6+0x4531f)
[pid=190701][err] #4 0x78d7feaa4339 (/usr/lib/x86_64-linux-gnu/libjemalloc.so.2+0xa4338)
[pid=190701][err] #5 0x78d7feaaf798 (/usr/lib/x86_64-linux-gnu/libjemalloc.so.2+0xaf797)
[pid=190701][err] #6 0x78d7fea36eb2 (/usr/lib/x86_64-linux-gnu/libjemalloc.so.2+0x36eb1)
[pid=190701][err] #7 0x6052dde4f15b [1108/145517.704629:WARNING:sandbox_linux.cc(430)] InitializeSandbox() called with multiple threads in process gpu-process.
[pid=190701][err] [1108/145517.708671:WARNING:viz_main_impl.cc(85)] VizNullHypothesis is disabled (not a warning)
[pid=190701][err] OPENSSL_realloc
[pid=190701][err] #8 0x6052dde3013d cbb_add_child
[pid=190701][err] #9 0x6052dde3002c CBB_add_asn1
[pid=190701][err] #10 0x6052dded0ea4 bssl::NormalizeName()
[pid=190701][err] #11 0x6052ddebd7c1 bssl::ParsedCertificate::Create()
[pid=190701][err] #12 0x6052de2b5400 net::TrustStoreChrome::TrustStoreChrome()
[pid=190701][err] #13 0x6052de2b50fc net::TrustStoreChrome::TrustStoreChrome()
[pid=190701][err] #14 0x6052dc0a6189 cert_verifier::(anonymous namespace)::CertVerifyProcFactoryImpl::CreateCertVerifyProc()
[pid=190701][err] #15 0x6052dc0a5377 cert_verifier::CreateCertVerifier()
[pid=190701][err] #16 0x6052dc0a7ec6 cert_verifier::(anonymous namespace)::GetNewCertVerifierImpl()
[pid=190701][err] #17 0x6052dc0a7c1f cert_verifier::CertVerifierServiceFactoryImpl::GetNewCertVerifier()
[pid=190701][err] #18 0x6052db532221 cert_verifier::mojom::CertVerifierServiceFactoryStubDispatch::Accept()
[pid=190701][err] #19 0x6052ddca6371 mojo::InterfaceEndpointClient::HandleValidatedMessage()
[pid=190701][err] #20 0x6052ddcacbc0 mojo::MessageDispatcher::Accept()
[pid=190701][err] #21 0x6052ddca7a2f mojo::InterfaceEndpointClient::HandleIncomingMessage()
[pid=190701][err] #22 0x6052ddcb05f1 mojo::internal::MultiplexRouter::ProcessIncomingMessage()
[pid=190701][err] #23 0x6052ddcafed9 mojo::internal::MultiplexRouter::Accept()
[pid=190701][err] #24 0x6052ddcacbc0 mojo::MessageDispatcher::Accept()
[pid=190701][err] #25 0x6052ddca4176 mojo::Connector::DispatchMessage()
[pid=190701][err] #26 0x6052ddca4905 mojo::Connector::ReadAllAvailableMessages()
[pid=190701][err] #27 0x6052ddca4755 mojo::Connector::OnWatcherHandleReady()
[pid=190701][err] #28 0x6052d97da2c9 base::RepeatingCallback<>::Run()
[pid=190701][err] #29 0x6052d8f2f853 base::RepeatingCallback<>::Run()
[pid=190701][err] #30 0x6052de0b399a mojo::SimpleWatcher::OnHandleReady()
[pid=190701][err] #31 0x6052de0b3d05 base::internal::Invoker<>::RunOnce()
[pid=190701][err] #32 0x6052ddd28f2f base::TaskAnnotator::RunTaskImpl()
[pid=190701][err] #33 0x6052ddd44969 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl()
[pid=190701][err] #34 0x6052ddd443db base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork()
[pid=190701][err] #35 0x6052ddd44dc5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork()
[pid=190701][err] #36 0x6052ddda894c base::MessagePumpGlib::Run()
[pid=190701][err] #37 0x6052ddd45160 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run()
[pid=190701][err] #38 0x6052ddd08de1 base::RunLoop::Run()
[pid=190701][err] #39 0x6052db694e1a content::BrowserMainLoop::RunMainMessageLoop()
[pid=190701][err] #40 0x6052db696ac2 content::BrowserMainRunnerImpl::Run()
[pid=190701][err] #41 0x6052e44967df headless::HeadlessContentMainDelegate::RunProcess()
[pid=190701][err] #42 0x6052dd16c51b content::RunBrowserProcessMain()
[pid=190701][err] #43 0x6052dd16dd79 content::ContentMainRunnerImpl::RunBrowser()
[pid=190701][err] #44 0x6052dd16d933 content::ContentMainRunnerImpl::Run()
[pid=190701][err] #45 0x6052dd16b467 content::RunContentProcess()
[pid=190701][err] #46 0x6052dd16b697 content::ContentMain()
[pid=190701][err] #47 0x6052dd7aa618 headless::HeadlessShellMain()
[pid=190701][err] #48 0x6052d8d1c4d9 ChromeMain
[pid=190701][err] #49 0x78d7fda2a1ca (/usr/lib/x86_64-linux-gnu/libc.so.6+0x2a1c9)
[pid=190701][err] #50 0x78d7fda2a28b __libc_start_main
[pid=190701][err] #51 0x6052d8d1c02a _start
[pid=190701][err]   r8: 00000000000024a0  r9: 000078d7feacec98 r10: 000078d7fc6d9e68 r11: 0000000000000320
[pid=190701][err]  r12: 00007ffeba36f650 r13: 0000000000000063 r14: 0000000000000318 r15: 0000000000000000
[pid=190701][err]   di: 000000b400000000  si: 000000b400000000  bp: 00007ffeba36f320  bx: 00007ffeba36f350
[pid=190701][err]   dx: 000000b400000000  ax: 000078d7fc6d9cb8  cx: 00000000000018c8  sp: 00007ffeba36f2e0
[pid=190701][err]   ip: 000078d7feaa4339 efl: 0000000000010206 cgf: 002b000000000033 erf: 0000000000000004
[pid=190701][err]  trp: 000000000000000e msk: 0000000000000000 cr2: 00000000000024a0
[pid=190701][err] [end of stack trace]
Call log:
  - <launching> /home/deploy/.cache/ms-playwright/chromium-1140/chrome-linux/chrome --disable-field-trial-config --disable-background-networking --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate,HttpsUpgrades,PaintHolding,ThirdPartyStoragePartitioning,LensOverlay,PlzDedicatedWorker --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --disable-search-engine-choice-screen --unsafely-disable-devtools-self-xss-warnings --headless=old --hide-scrollbars --mute-audio --blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox --user-data-dir=/tmp/playwright_chromiumdev_profile-IXqM0M --remote-debugging-pipe --no-startup-window
  - <launched> pid=190701
  - [pid=190701][err] Old Headless mode will be removed from the Chrome binary soon. Please use the new Headless mode (https://developer.chrome.com/docs/chromium/new-headless) or the chrome-headless-shell which is a standalone implementation of the old Headless mode (https://developer.chrome.com/blog/chrome-headless-shell).
  - [pid=190701][err]
  - [pid=190701][err] Received signal 11 SEGV_MAPERR 0000000024a0
  - [pid=190701][err] #0 0x6052ddd94152 base::debug::CollectStackTrace()
  - [pid=190701][err] #1 0x6052ddd8190e base::debug::StackTrace::StackTrace()
  - [pid=190701][err] #2 0x6052ddd93b61 base::debug::(anonymous namespace)::StackDumpSignalHandler()
  - [pid=190701][err] #3 0x78d7fda45320 (/usr/lib/x86_64-linux-gnu/libc.so.6+0x4531f)
  - [pid=190701][err] #4 0x78d7feaa4339 (/usr/lib/x86_64-linux-gnu/libjemalloc.so.2+0xa4338)
  - [pid=190701][err] #5 0x78d7feaaf798 (/usr/lib/x86_64-linux-gnu/libjemalloc.so.2+0xaf797)
  - [pid=190701][err] #6 0x78d7fea36eb2 (/usr/lib/x86_64-linux-gnu/libjemalloc.so.2+0x36eb1)
  - [pid=190701][err] #7 0x6052dde4f15b [1108/145517.704629:WARNING:sandbox_linux.cc(430)] InitializeSandbox() called with multiple threads in process gpu-process.
  - [pid=190701][err] [1108/145517.708671:WARNING:viz_main_impl.cc(85)] VizNullHypothesis is disabled (not a warning)
  - [pid=190701][err] OPENSSL_realloc
  - [pid=190701][err] #8 0x6052dde3013d cbb_add_child
  - [pid=190701][err] #9 0x6052dde3002c CBB_add_asn1
  - [pid=190701][err] #10 0x6052dded0ea4 bssl::NormalizeName()
  - [pid=190701][err] #11 0x6052ddebd7c1 bssl::ParsedCertificate::Create()
  - [pid=190701][err] #12 0x6052de2b5400 net::TrustStoreChrome::TrustStoreChrome()
  - [pid=190701][err] #13 0x6052de2b50fc net::TrustStoreChrome::TrustStoreChrome()
  - [pid=190701][err] #14 0x6052dc0a6189 cert_verifier::(anonymous namespace)::CertVerifyProcFactoryImpl::CreateCertVerifyProc()
  - [pid=190701][err] #15 0x6052dc0a5377 cert_verifier::CreateCertVerifier()
  - [pid=190701][err] #16 0x6052dc0a7ec6 cert_verifier::(anonymous namespace)::GetNewCertVerifierImpl()
  - [pid=190701][err] #17 0x6052dc0a7c1f cert_verifier::CertVerifierServiceFactoryImpl::GetNewCertVerifier()
  - [pid=190701][err] #18 0x6052db532221 cert_verifier::mojom::CertVerifierServiceFactoryStubDispatch::Accept()
  - [pid=190701][err] #19 0x6052ddca6371 mojo::InterfaceEndpointClient::HandleValidatedMessage()
  - [pid=190701][err] #20 0x6052ddcacbc0 mojo::MessageDispatcher::Accept()
  - [pid=190701][err] #21 0x6052ddca7a2f mojo::InterfaceEndpointClient::HandleIncomingMessage()
  - [pid=190701][err] #22 0x6052ddcb05f1 mojo::internal::MultiplexRouter::ProcessIncomingMessage()
  - [pid=190701][err] #23 0x6052ddcafed9 mojo::internal::MultiplexRouter::Accept()
  - [pid=190701][err] #24 0x6052ddcacbc0 mojo::MessageDispatcher::Accept()
  - [pid=190701][err] #25 0x6052ddca4176 mojo::Connector::DispatchMessage()
  - [pid=190701][err] #26 0x6052ddca4905 mojo::Connector::ReadAllAvailableMessages()
  - [pid=190701][err] #27 0x6052ddca4755 mojo::Connector::OnWatcherHandleReady()
  - [pid=190701][err] #28 0x6052d97da2c9 base::RepeatingCallback<>::Run()
  - [pid=190701][err] #29 0x6052d8f2f853 base::RepeatingCallback<>::Run()
  - [pid=190701][err] #30 0x6052de0b399a mojo::SimpleWatcher::OnHandleReady()
  - [pid=190701][err] #31 0x6052de0b3d05 base::internal::Invoker<>::RunOnce()
  - [pid=190701][err] #32 0x6052ddd28f2f base::TaskAnnotator::RunTaskImpl()
  - [pid=190701][err] #33 0x6052ddd44969 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl()
  - [pid=190701][err] #34 0x6052ddd443db base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork()
  - [pid=190701][err] #35 0x6052ddd44dc5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork()
  - [pid=190701][err] #36 0x6052ddda894c base::MessagePumpGlib::Run()
  - [pid=190701][err] #37 0x6052ddd45160 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run()
  - [pid=190701][err] #38 0x6052ddd08de1 base::RunLoop::Run()
  - [pid=190701][err] #39 0x6052db694e1a content::BrowserMainLoop::RunMainMessageLoop()
  - [pid=190701][err] #40 0x6052db696ac2 content::BrowserMainRunnerImpl::Run()
  - [pid=190701][err] #41 0x6052e44967df headless::HeadlessContentMainDelegate::RunProcess()
  - [pid=190701][err] #42 0x6052dd16c51b content::RunBrowserProcessMain()
  - [pid=190701][err] #43 0x6052dd16dd79 content::ContentMainRunnerImpl::RunBrowser()
  - [pid=190701][err] #44 0x6052dd16d933 content::ContentMainRunnerImpl::Run()
  - [pid=190701][err] #45 0x6052dd16b467 content::RunContentProcess()
  - [pid=190701][err] #46 0x6052dd16b697 content::ContentMain()
  - [pid=190701][err] #47 0x6052dd7aa618 headless::HeadlessShellMain()
  - [pid=190701][err] #48 0x6052d8d1c4d9 ChromeMain
  - [pid=190701][err] #49 0x78d7fda2a1ca (/usr/lib/x86_64-linux-gnu/libc.so.6+0x2a1c9)
  - [pid=190701][err] #50 0x78d7fda2a28b __libc_start_main
  - [pid=190701][err] #51 0x6052d8d1c02a _start
  - [pid=190701][err]   r8: 00000000000024a0  r9: 000078d7feacec98 r10: 000078d7fc6d9e68 r11: 0000000000000320
  - [pid=190701][err]  r12: 00007ffeba36f650 r13: 0000000000000063 r14: 0000000000000318 r15: 0000000000000000
  - [pid=190701][err]   di: 000000b400000000  si: 000000b400000000  bp: 00007ffeba36f320  bx: 00007ffeba36f350
  - [pid=190701][err]   dx: 000000b400000000  ax: 000078d7fc6d9cb8  cx: 00000000000018c8  sp: 00007ffeba36f2e0
  - [pid=190701][err]   ip: 000078d7feaa4339 efl: 0000000000010206 cgf: 002b000000000033 erf: 0000000000000004
  - [pid=190701][err]  trp: 000000000000000e msk: 0000000000000000 cr2: 00000000000024a0
  - [pid=190701][err] [end of stack trace]

Additional context

Clean Ubuntu 24.04 install

Environment

System:
    OS: Linux 6.8 Ubuntu 24.04.1 LTS 24.04.1 LTS (Noble Numbat)
    CPU: (8) x64 Intel Xeon Processor (Skylake, IBRS, no TSX)
    Memory: 12.99 GB / 15.25 GB
    Container: Yes
  Binaries:
    Node: 18.16.0 - ~/.asdf/installs/nodejs/18.16.0/bin/node
    Yarn: 1.22.22 - ~/.asdf/installs/nodejs/18.16.0/bin/yarn
    npm: 9.5.1 - ~/.asdf/plugins/nodejs/shims/npm
  Languages:
    Bash: 5.2.21 - /usr/bin/bash
@yury-s
Copy link
Member

yury-s commented Nov 8, 2024

I cannot reproduce it with the described steps on Ubuntu 24.04, does it reproduce in our docker image?

@yury-s
Copy link
Member

yury-s commented Nov 8, 2024

Filed upstream https://issues.chromium.org/u/1/issues/378077860

@manuelmeurer
Copy link
Author

I can confirm that jemalloc is the culprit:

sudo apt update
sudo apt install -y nodejs npm 
npx playwright install --with-deps chromium
npx playwright pdf https://google.com test.pdf # works

sudo apt install -y libjemalloc-dev
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2 npx playwright pdf https://google.com test.pdf # crashes

Error: t.parse: Target page, context or browser has been closed
Browser logs:

<launching> /root/.cache/ms-playwright/chromium-1140/chrome-linux/chrome --disable-field-trial-config --disable-background-networking --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate,HttpsUpgrades,PaintHolding,ThirdPartyStoragePartitioning,LensOverlay,PlzDedicatedWorker --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --disable-search-engine-choice-screen --unsafely-disable-devtools-self-xss-warnings --headless=old --hide-scrollbars --mute-audio --blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox --user-data-dir=/tmp/playwright_chromiumdev_profile-8fl45J --remote-debugging-pipe --no-startup-window
<launched> pid=8961
[pid=8961][err] Old Headless mode will be removed from the Chrome binary soon. Please use the new Headless mode (https://developer.chrome.com/docs/chromium/new-headless) or the chrome-headless-shell which is a standalone implementation of the old Headless mode (https://developer.chrome.com/blog/chrome-headless-shell).
[pid=8961][err]
[pid=8961][err] Received signal 11 SEGV_MAPERR 000000002420
[pid=8961][err] #0 0x5b8544640152 base::debug::CollectStackTrace()
[pid=8961][err] #1 0x5b854462d90e base::debug::StackTrace::StackTrace()
[pid=8961][err] #2 0x5b854463fb61 base::debug::(anonymous namespace)::StackDumpSignalHandler()
[pid=8961][err] #3 0x7c5523845320 (/usr/lib/x86_64-linux-gnu/libc.so.6+0x4531f)
[pid=8961][err] #4 0x7c55248a4339 (/usr/lib/x86_64-linux-gnu/libjemalloc.so.2+0xa4338)
[pid=8961][err] #5 0x7c55248af798 (/usr/lib/x86_64-linux-gnu/libjemalloc.so.2+0xaf797)
[pid=8961][err] #6 0x7c5524836eb2 (/usr/lib/x86_64-linux-gnu/libjemalloc.so.2+0x36eb1)
[pid=8961][err] #7 0x5b85446fb15b OPENSSL_realloc
[pid=8961][err] #8 0x5b85446dc13d cbb_add_child
[pid=8961][err] #9 0x5b85446dc02c CBB_add_asn1
[pid=8961][err] #10 0x5b854477cea4 [1109/162943.327902:WARNING:sandbox_linux.cc(430)] InitializeSandbox() called with multiple threads in process gpu-process.
[pid=8961][err] [1109/162943.330548:WARNING:viz_main_impl.cc(85)] VizNullHypothesis is disabled (not a warning)
[pid=8961][err] bssl::NormalizeName()
[pid=8961][err] #11 0x5b85447697c1 bssl::ParsedCertificate::Create()
[pid=8961][err] #12 0x5b8544b61400 net::TrustStoreChrome::TrustStoreChrome()
[pid=8961][err] #13 0x5b8544b610fc net::TrustStoreChrome::TrustStoreChrome()
[pid=8961][err] #14 0x5b8542952189 cert_verifier::(anonymous namespace)::CertVerifyProcFactoryImpl::CreateCertVerifyProc()
[pid=8961][err] #15 0x5b8542951377 cert_verifier::CreateCertVerifier()
[pid=8961][err] #16 0x5b8542953ec6 cert_verifier::(anonymous namespace)::GetNewCertVerifierImpl()
[pid=8961][err] #17 0x5b8542953c1f cert_verifier::CertVerifierServiceFactoryImpl::GetNewCertVerifier()
[pid=8961][err] #18 0x5b8541dde221 cert_verifier::mojom::CertVerifierServiceFactoryStubDispatch::Accept()
[pid=8961][err] #19 0x5b8544552371 mojo::InterfaceEndpointClient::HandleValidatedMessage()
[pid=8961][err] #20 0x5b8544558bc0 mojo::MessageDispatcher::Accept()
[pid=8961][err] #21 0x5b8544553a2f mojo::InterfaceEndpointClient::HandleIncomingMessage()
[pid=8961][err] #22 0x5b854455c5f1 mojo::internal::MultiplexRouter::ProcessIncomingMessage()
[pid=8961][err] #23 0x5b854455bed9 mojo::internal::MultiplexRouter::Accept()
[pid=8961][err] #24 0x5b8544558bc0 mojo::MessageDispatcher::Accept()
[pid=8961][err] #25 0x5b8544550176 mojo::Connector::DispatchMessage()
[pid=8961][err] #26 0x5b8544550905 mojo::Connector::ReadAllAvailableMessages()
[pid=8961][err] #27 0x5b8544550755 mojo::Connector::OnWatcherHandleReady()
[pid=8961][err] #28 0x5b85400862c9 base::RepeatingCallback<>::Run()
[pid=8961][err] #29 0x5b853f7db853 base::RepeatingCallback<>::Run()
[pid=8961][err] #30 0x5b854495f99a mojo::SimpleWatcher::OnHandleReady()
[pid=8961][err] #31 0x5b854495fd05 base::internal::Invoker<>::RunOnce()
[pid=8961][err] #32 0x5b85445d4f2f base::TaskAnnotator::RunTaskImpl()
[pid=8961][err] #33 0x5b85445f0969 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl()
[pid=8961][err] #34 0x5b85445f03db base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork()
[pid=8961][err] #35 0x5b85445f0dc5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork()
[pid=8961][err] #36 0x5b854465494c base::MessagePumpGlib::Run()
[pid=8961][err] #37 0x5b85445f1160 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run()
[pid=8961][err] #38 0x5b85445b4de1 base::RunLoop::Run()
[pid=8961][err] #39 0x5b8541f40e1a content::BrowserMainLoop::RunMainMessageLoop()
[pid=8961][err] #40 0x5b8541f42ac2 content::BrowserMainRunnerImpl::Run()
[pid=8961][err] #41 0x5b854ad427df headless::HeadlessContentMainDelegate::RunProcess()
[pid=8961][err] #42 0x5b8543a1851b content::RunBrowserProcessMain()
[pid=8961][err] #43 0x5b8543a19d79 content::ContentMainRunnerImpl::RunBrowser()
[pid=8961][err] #44 0x5b8543a19933 content::ContentMainRunnerImpl::Run()
[pid=8961][err] #45 0x5b8543a17467 content::RunContentProcess()
[pid=8961][err] #46 0x5b8543a17697 content::ContentMain()
[pid=8961][err] #47 0x5b8544056618 headless::HeadlessShellMain()
[pid=8961][err] #48 0x5b853f5c84d9 ChromeMain
[pid=8961][err] #49 0x7c552382a1ca (/usr/lib/x86_64-linux-gnu/libc.so.6+0x2a1c9)
[pid=8961][err] #50 0x7c552382a28b __libc_start_main
[pid=8961][err] #51 0x5b853f5c802a _start
[pid=8961][err]   r8: 0000000000002420  r9: 00007c55248dd698 r10: 00007c55225a1e68 r11: 0000000000000320
[pid=8961][err]  r12: 00007fff5dbc82e0 r13: 0000000000000063 r14: 0000000000000318 r15: 0000000000000000
[pid=8961][err]   di: 0000080400000000  si: 0000080400000000  bp: 00007fff5dbc7fb0  bx: 00007fff5dbc7fe0
[pid=8961][err]   dx: 0000080400000000  ax: 00007c55225a1cb8  cx: 0000000000001360  sp: 00007fff5dbc7f70
[pid=8961][err]   ip: 00007c55248a4339 efl: 0000000000010202 cgf: 002b000000000033 erf: 0000000000000004
[pid=8961][err]  trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000002420
[pid=8961][err] [end of stack trace]
Call log:
  - <launching> /root/.cache/ms-playwright/chromium-1140/chrome-linux/chrome --disable-field-trial-config --disable-background-networking --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate,HttpsUpgrades,PaintHolding,ThirdPartyStoragePartitioning,LensOverlay,PlzDedicatedWorker --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --disable-search-engine-choice-screen --unsafely-disable-devtools-self-xss-warnings --headless=old --hide-scrollbars --mute-audio --blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox --user-data-dir=/tmp/playwright_chromiumdev_profile-8fl45J --remote-debugging-pipe --no-startup-window
  - <launched> pid=8961
  - [pid=8961][err] Old Headless mode will be removed from the Chrome binary soon. Please use the new Headless mode (https://developer.chrome.com/docs/chromium/new-headless) or the chrome-headless-shell which is a standalone implementation of the old Headless mode (https://developer.chrome.com/blog/chrome-headless-shell).
  - [pid=8961][err]
  - [pid=8961][err] Received signal 11 SEGV_MAPERR 000000002420
  - [pid=8961][err] #0 0x5b8544640152 base::debug::CollectStackTrace()
  - [pid=8961][err] #1 0x5b854462d90e base::debug::StackTrace::StackTrace()
  - [pid=8961][err] #2 0x5b854463fb61 base::debug::(anonymous namespace)::StackDumpSignalHandler()
  - [pid=8961][err] #3 0x7c5523845320 (/usr/lib/x86_64-linux-gnu/libc.so.6+0x4531f)
  - [pid=8961][err] #4 0x7c55248a4339 (/usr/lib/x86_64-linux-gnu/libjemalloc.so.2+0xa4338)
  - [pid=8961][err] #5 0x7c55248af798 (/usr/lib/x86_64-linux-gnu/libjemalloc.so.2+0xaf797)
  - [pid=8961][err] #6 0x7c5524836eb2 (/usr/lib/x86_64-linux-gnu/libjemalloc.so.2+0x36eb1)
  - [pid=8961][err] #7 0x5b85446fb15b OPENSSL_realloc
  - [pid=8961][err] #8 0x5b85446dc13d cbb_add_child
  - [pid=8961][err] #9 0x5b85446dc02c CBB_add_asn1
  - [pid=8961][err] #10 0x5b854477cea4 [1109/162943.327902:WARNING:sandbox_linux.cc(430)] InitializeSandbox() called with multiple threads in process gpu-process.
  - [pid=8961][err] [1109/162943.330548:WARNING:viz_main_impl.cc(85)] VizNullHypothesis is disabled (not a warning)
  - [pid=8961][err] bssl::NormalizeName()
  - [pid=8961][err] #11 0x5b85447697c1 bssl::ParsedCertificate::Create()
  - [pid=8961][err] #12 0x5b8544b61400 net::TrustStoreChrome::TrustStoreChrome()
  - [pid=8961][err] #13 0x5b8544b610fc net::TrustStoreChrome::TrustStoreChrome()
  - [pid=8961][err] #14 0x5b8542952189 cert_verifier::(anonymous namespace)::CertVerifyProcFactoryImpl::CreateCertVerifyProc()
  - [pid=8961][err] #15 0x5b8542951377 cert_verifier::CreateCertVerifier()
  - [pid=8961][err] #16 0x5b8542953ec6 cert_verifier::(anonymous namespace)::GetNewCertVerifierImpl()
  - [pid=8961][err] #17 0x5b8542953c1f cert_verifier::CertVerifierServiceFactoryImpl::GetNewCertVerifier()
  - [pid=8961][err] #18 0x5b8541dde221 cert_verifier::mojom::CertVerifierServiceFactoryStubDispatch::Accept()
  - [pid=8961][err] #19 0x5b8544552371 mojo::InterfaceEndpointClient::HandleValidatedMessage()
  - [pid=8961][err] #20 0x5b8544558bc0 mojo::MessageDispatcher::Accept()
  - [pid=8961][err] #21 0x5b8544553a2f mojo::InterfaceEndpointClient::HandleIncomingMessage()
  - [pid=8961][err] #22 0x5b854455c5f1 mojo::internal::MultiplexRouter::ProcessIncomingMessage()
  - [pid=8961][err] #23 0x5b854455bed9 mojo::internal::MultiplexRouter::Accept()
  - [pid=8961][err] #24 0x5b8544558bc0 mojo::MessageDispatcher::Accept()
  - [pid=8961][err] #25 0x5b8544550176 mojo::Connector::DispatchMessage()
  - [pid=8961][err] #26 0x5b8544550905 mojo::Connector::ReadAllAvailableMessages()
  - [pid=8961][err] #27 0x5b8544550755 mojo::Connector::OnWatcherHandleReady()
  - [pid=8961][err] #28 0x5b85400862c9 base::RepeatingCallback<>::Run()
  - [pid=8961][err] #29 0x5b853f7db853 base::RepeatingCallback<>::Run()
  - [pid=8961][err] #30 0x5b854495f99a mojo::SimpleWatcher::OnHandleReady()
  - [pid=8961][err] #31 0x5b854495fd05 base::internal::Invoker<>::RunOnce()
  - [pid=8961][err] #32 0x5b85445d4f2f base::TaskAnnotator::RunTaskImpl()
  - [pid=8961][err] #33 0x5b85445f0969 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWorkImpl()
  - [pid=8961][err] #34 0x5b85445f03db base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork()
  - [pid=8961][err] #35 0x5b85445f0dc5 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::DoWork()
  - [pid=8961][err] #36 0x5b854465494c base::MessagePumpGlib::Run()
  - [pid=8961][err] #37 0x5b85445f1160 base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run()
  - [pid=8961][err] #38 0x5b85445b4de1 base::RunLoop::Run()
  - [pid=8961][err] #39 0x5b8541f40e1a content::BrowserMainLoop::RunMainMessageLoop()
  - [pid=8961][err] #40 0x5b8541f42ac2 content::BrowserMainRunnerImpl::Run()
  - [pid=8961][err] #41 0x5b854ad427df headless::HeadlessContentMainDelegate::RunProcess()
  - [pid=8961][err] #42 0x5b8543a1851b content::RunBrowserProcessMain()
  - [pid=8961][err] #43 0x5b8543a19d79 content::ContentMainRunnerImpl::RunBrowser()
  - [pid=8961][err] #44 0x5b8543a19933 content::ContentMainRunnerImpl::Run()
  - [pid=8961][err] #45 0x5b8543a17467 content::RunContentProcess()
  - [pid=8961][err] #46 0x5b8543a17697 content::ContentMain()
  - [pid=8961][err] #47 0x5b8544056618 headless::HeadlessShellMain()
  - [pid=8961][err] #48 0x5b853f5c84d9 ChromeMain
  - [pid=8961][err] #49 0x7c552382a1ca (/usr/lib/x86_64-linux-gnu/libc.so.6+0x2a1c9)
  - [pid=8961][err] #50 0x7c552382a28b __libc_start_main
  - [pid=8961][err] #51 0x5b853f5c802a _start
  - [pid=8961][err]   r8: 0000000000002420  r9: 00007c55248dd698 r10: 00007c55225a1e68 r11: 0000000000000320
  - [pid=8961][err]  r12: 00007fff5dbc82e0 r13: 0000000000000063 r14: 0000000000000318 r15: 0000000000000000
  - [pid=8961][err]   di: 0000080400000000  si: 0000080400000000  bp: 00007fff5dbc7fb0  bx: 00007fff5dbc7fe0
  - [pid=8961][err]   dx: 0000080400000000  ax: 00007c55225a1cb8  cx: 0000000000001360  sp: 00007fff5dbc7f70
  - [pid=8961][err]   ip: 00007c55248a4339 efl: 0000000000010202 cgf: 002b000000000033 erf: 0000000000000004
  - [pid=8961][err]  trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000002420
  - [pid=8961][err] [end of stack trace]

@mxschmitt mxschmitt added the upstream This is a bug in something playwright depends on, like a browser. label Nov 11, 2024
@manuelmeurer
Copy link
Author

Fixed in BoringSSL: https://boringssl.googlesource.com/boringssl/+/eca12891ed873dc183624f28e4e5442e7bc2f4a2
I guess this will be included in the next Chromium version then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser-chromium upstream This is a bug in something playwright depends on, like a browser.
Projects
None yet
Development

No branches or pull requests

3 participants