You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Crash in WebContents::DevToolsOpened -> WebContents::SetOwnerWindow #34042
Thanks for reporting this and helping to make Electron better!
Because of time constraints, triaging code with third-party dependencies is usually not feasible for a small team like Electron's.
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.
I'm adding the blocked/need-repro label for this reason. After you make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.
@codebytere Not sure what you mean with third-party dependencies.
This happened when trying to open the devtools of a BrowserWindow.
Since this is the first time this crash happened and I haven't seen further such cases I highly doubt it will be possible to create a small test case.
I thought that the crash dump might give enough insight for a possible fix since that helped in past bug reports but if it does not feel free to close the issue as I will not be able to provide anything further.
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!
Activity
codebytere commentedon May 4, 2022
Thanks for reporting this and helping to make Electron better!
Because of time constraints, triaging code with third-party dependencies is usually not feasible for a small team like Electron's.
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.
I'm adding the
blocked/need-reprolabel for this reason. After you make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.t57ser commentedon May 5, 2022
@codebytere Not sure what you mean with third-party dependencies.
This happened when trying to open the devtools of a BrowserWindow.
Since this is the first time this crash happened and I haven't seen further such cases I highly doubt it will be possible to create a small test case.
I thought that the crash dump might give enough insight for a possible fix since that helped in past bug reports but if it does not feel free to close the issue as I will not be able to provide anything further.
boutetnico commentedon Sep 21, 2022
Had a similar crash on Electron 20.1.4. Can't reproduce it.
electron-issue-triage commentedon Jun 30, 2025
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!