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

could not launch browser: [launcher] Failed to get the debug url #528

Open
wong-justin opened this issue Sep 12, 2024 · 0 comments
Open

Comments

@wong-justin
Copy link

Description
vhs fails to launch chromium.
Setup

  • Ubuntu 18.04 inside WSL 2.2.4.0 on Windows 10
  • vhs 0.8.0

To Reproduce
Steps to reproduce the behavior:

  1. Create test tape with vhs new demo.tape
  2. Run vhs demo.tape
  3. Receive the following error after chromium finishes downloading:
File: demo.tape
could not launch browser: [launcher] Failed to get the debug url: [0912/091916.350611:ERROR:exception_handler_server.cc(362)] getsockopt: Invalid argument (22)

[0912/091916.351347:ERROR:socket.cc(153)] unhandled cmsg -1431655766, -1431655766
[0912/091916.352719:ERROR:exception_handler_server.cc(362)] getsockopt: Invalid argument (22)
[24871:24871:0912/091916.352887:ERROR:socket.cc(153)] unhandled cmsg -1431655766, -1431655766
[24871:24871:0912/091916.353069:FATAL:crashpad_linux.cc(256)] Check failed: client.StartHandler(handler_path, *database_path, metrics_path, url, annotations, arguments, false, false).
#0 0x7ff0b5e20662 (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460b375bb7)
#1 0x7ff0b5e0db5e (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460b3630b3)
#2 0x7ff0b5d6467a (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460b2b9bcf)
#3 0x7ff0b5d6455d (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460b2b9ab2)
#4 0x7ff0b5d4d590 (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460b2a2ae5)
#5 0x7ff0b5d4d5ee (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460b2a2b43)
#6 0x7ff0b5d4d373 (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460b2a28c8)
#7 0x7ff0b8607c0c (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460db5d161)
#8 0x7ff0b85fea58 (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460db53fad)
#9 0x7ff0b0f34377 (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d546064898cc)
#10 0x7ff0b51da640 (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460a72fb95)
#11 0x7ff0b51d8749 (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460a72dc9e)
#12 0x7ff0b51d8ba7 (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460a72e0fc)
#13 0x7ff0b0f32370 (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d546064878c5)
#14 0x7ff0a7ea1c87 (/lib/x86_64-linux-gnu/libc-2.27.so+0x5555d545fd3f71dc)
#15 0x7ff0b0f3202a (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460648757f)

Received signal 6
#0 0x7ff0b5e20662 (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460b375bb7)
#1 0x7ff0b5e0db5e (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460b3630b3)
#2 0x7ff0b5e20071 (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460b3755c6)
#3 0x7ff0ac7e2980 (/lib/x86_64-linux-gnu/libpthread-2.27.so+0x5555d54601d37ed5)
#4 0x7ff0a7ebee87 (/lib/x86_64-linux-gnu/libc-2.27.so+0x5555d545fd4143dc)
#5 0x7ff0a7ec07f1 (/lib/x86_64-linux-gnu/libc-2.27.so+0x5555d545fd415d46)
#6 0x7ff0b5e017d5 (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460b356d2a)
#7 0x7ff0b5d651c4 (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460b2ba719)
#8 0x7ff0b5d6505d (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460b2ba5b2)
#9 0x7ff0b5d64c74 (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460b2ba1c9)
#10 0x7ff0b5d6455d (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460b2b9ab2)
#11 0x7ff0b5d4d590 (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460b2a2ae5)
#12 0x7ff0b5d4d5ee (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460b2a2b43)
#13 0x7ff0b5d4d373 (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460b2a28c8)
#14 0x7ff0b8607c0c (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460db5d161)
#15 0x7ff0b85fea58 (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460db53fad)
#16 0x7ff0b0f34377 (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d546064898cc)
#17 0x7ff0b51da640 (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460a72fb95)
#18 0x7ff0b51d8749 (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460a72dc9e)
#19 0x7ff0b51d8ba7 (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460a72e0fc)
#20 0x7ff0b0f32370 (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d546064878c5)
#21 0x7ff0a7ea1c87 (/lib/x86_64-linux-gnu/libc-2.27.so+0x5555d545fd3f71dc)
#22 0x7ff0b0f3202a (/root/.cache/rod/browser/chromium-1321438/chrome+0x5555d5460648757f)
  r8: 0000000000000000  r9: 00007fffc9f30a00 r10: 0000000000000008 r11: 0000000000000008
 r12: 00007fffc9f30cd0 r13: 000000000000007a r14: 00007ff0ae5cc944 r15: 00007fffc9f30d18
  di: 0000000000000002  si: 00007fffc9f30a00  bp: 00007fffc9f30c50  bx: 0000000000000100
  dx: 0000000000000000  ax: 0000000000000000  cx: 0000000000000008  sp: 00007fffc9f30a00
  ip: 00007ff0a7ebee87 efl: 0000000000000246 cgf: 00000053002b0033 erf: 0000000000000000
 trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]

Expected behavior
Expected vhs to successfully launch chromium and create a gif.

Additional context
I'm guessing this has something to do with WSL and networks / ports, but I'm not sure.

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

1 participant