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
Electron 34.x mysteriously crashes with Invoke in DisallowJavascriptExecutionScope #45416
Hello @Nantris. 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-reproNeeds a test case to reproduce the bug
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.
Seems like this only occurs when devtools is open during certain IPC calls? But I haven't the faintest clue how I'd track it down more than that since the renderer crashes.
@samuelmaddock any thoughts on how this might occur? It seems quite probable this is related to #45229 but truly understanding how that leads to this effect is way beyond my pay grade.
@samuelmaddock any thoughts on how this might occur? It seems quite probable this is related to #45229 but truly understanding how that leads to this effect is way beyond my pay grade.
It's unlikely this is related as it's scheduled for release in Electron v35.
If you're able to capture a full native call stack, that could help determine what code is causing this. As @nikwen said, an Electron Fiddle gist is the best way for us to determine the cause.
Activity
electron-issue-triage commentedon Feb 1, 2025
Hello @Nantris. 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-reproNeeds a test case to reproduce the bug
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.
Nantris commentedon Feb 1, 2025
It's not remotely clear what causes this issue so it's not remotely clear how a repro could be produced.
Nantris commentedon Feb 2, 2025
Seems like this only occurs when devtools is open during certain IPC calls? But I haven't the faintest clue how I'd track it down more than that since the renderer crashes.
Nantris commentedon Feb 2, 2025
@samuelmaddock any thoughts on how this might occur? It seems quite probable this is related to #45229 but truly understanding how that leads to this effect is way beyond my pay grade.
nikwen commentedon Feb 2, 2025
Maintainers need a simple code example to trigger the issue. Otherwise, they have no way of fixing it.
The best way is to create one via Electron Fiddle.
samuelmaddock commentedon Feb 2, 2025
It's unlikely this is related as it's scheduled for release in Electron v35.
If you're able to capture a full native call stack, that could help determine what code is causing this. As @nikwen said, an Electron Fiddle gist is the best way for us to determine the cause.
nikwen commentedon Mar 1, 2025
Without a way to reproduce this issue, maintainers are unfortunately unable to take action.
Please open a new issue when you have a way to reproduce the issue.
fix: defer Wrappable destruction in SecondWeakCallback to a posted task
fix: defer Wrappable destruction in SecondWeakCallback to a posted task
fix: defer Wrappable destruction in SecondWeakCallback to a posted task
fix: defer Wrappable destruction in SecondWeakCallback to a posted ta…
fix: defer Wrappable destruction in SecondWeakCallback to a posted task
fix: defer Wrappable destruction in SecondWeakCallback to a posted task
fix: defer Wrappable destruction in SecondWeakCallback to a posted task
fix: defer Wrappable destruction in SecondWeakCallback to a posted ta…
fix: defer Wrappable destruction in SecondWeakCallback to a posted ta…
fix: defer Wrappable destruction in SecondWeakCallback to a posted ta…