-
Notifications
You must be signed in to change notification settings - Fork 15.9k
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
desktopCapturer crashing on linux w/XDP when the capture portal is dismissed/closed #45198
Comments
Hello @Covkie. Thanks for reporting this and helping to make Electron better! Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use. Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests. Now adding the
blocked/need-repro
|
https://gist.github.com/7335c2f02a56b67e19c0941491e5e6a3 Here's the example on the docs in gist form |
Commenting to confirm that this happens on Flatpak apps using Electron as well. |
Could you please attach a crash dump to help us get more information? You can collect them by adding the following snippet to your main process code, before const { app, crashReporter } = require('electron')
console.log(app.getPath('crashDumps'))
crashReporter.start({ submitURL: '', uploadToServer: false }) Then reproduce the crash, zip up the crash dumps directory and attach it here. Thanks! |
Preflight Checklist
Electron Version
32.0.0, 33.0.0, 34.0.0
What operating system(s) are you using?
Other Linux
Operating System Version
Linux bakery 6.12.9-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Fri, 10 Jan 2025 00:39:35 +0000 x86_64 GNU/Linux
What arch are you using?
x64
Last Known Working Electron version
31.3.1 - No crashing but cannot open another portal request. 31.4.0 & later crashes
Expected Behavior
Doesn't crash & allows following requests
Actual Behavior
When the user closes the portal picker electron will crash.
Testcase Gist URL
https://www.electronjs.org/docs/latest/api/desktop-capturer the example provided is a simple repro
Additional Information
When attempting this from chromium the same errors will be spit out but there is no crash and can make following pick attempts so I believe theyre unrelated. Other than that theres no logs.
The text was updated successfully, but these errors were encountered: