Skip to content

[Bug] Crash when closing the wayland "pick what to stream" window. #799

Description

@patrlim

Discord Account

patrlim

Operating System

Arch Linux

Linux Only ~ Desktop Environment

KDE on Wayland

Package Type

Flatpak

What happens when the bug or crash occurs?

The bug happens when I close the "Choose what to share" window when initiating a screenshare.

What is the expected behaviour?

I expect the "Choose what to share" window to close, and Vesktop to remain open.

How do you recreate this bug or crash?

  1. Click "Share Your Screen" in the bottom left on Vesktop
  2. When the Screen Sharing window pops up, asking what to share, click the "close window" button.

Debug Logs

[3:0806/172111.237313:ERROR:shared_x_display.cc(39)] Unable to open display
[3:0806/172120.351366:ERROR:screencast_portal.cc(367)] Failed to start the screen cast session.
[3:0806/172120.351382:ERROR:base_capturer_pipewire.cc(81)] ScreenCastPortal failed: 2
Error during screenshare picker Failed to get sources.
(node:3) UnhandledPromiseRejectionWarning: TypeError: Video was requested, but no video stream was provided
    at AsyncFunction.<anonymous> (VCDMain:87:5244)
(Use `vesktop.bin --trace-warnings ...` to show where the warning was created)
(node:3) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
/app/bin/startvesktop: line 26:     3 Segmentation fault      (core dumped) zypak-wrapper /app/bin/vesktop/vesktop.bin "${FLAGS[@]}" "$@"

Request Agreement

  • I have searched the existing issues and found no similar issue
  • I am using the latest Vesktop and Vencord versions
  • This issue occurs on an official release (not just the AUR or Nix packages)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions