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

[Bug]: Crash SIGSEGV at v8::internal::CppHeap::WriteBarrier(v8::internal::JSObject) #42224

Closed
3 tasks done
tn185075 opened this issue May 20, 2024 · 5 comments
Closed
3 tasks done
Labels
24-x-y blocked/need-repro Needs a test case to reproduce the bug bug 🪲

Comments

@tn185075
Copy link

tn185075 commented May 20, 2024

Preflight Checklist

Electron Version

24.6.0

What operating system are you using?

Ubuntu

Operating System Version

22.04

What arch are you using?

x64

Last Known Working Electron version

No response

Expected Behavior

No crash.

Actual Behavior

electron intermittently crashes after window.location.assign("react/route") which happens in a pop-up created by the main window. We see render-process-gone with exit code 139, and the crash dump has the reference to v8::internal::CppHeap::WriteBarrier(v8::internal::JSObject) with symbols generated for our own electron app.

What could be the cause of crash here? Or Is this a v8 bug to be reported?

Testcase Gist URL

No response

Additional Information

No response

@clavin
Copy link
Member

clavin commented May 21, 2024

Hi! Thanks for taking the time to report this issue. Here are some notes:

  1. It'd help us if you could test out this issue on a recent Electron version, like Electron 30. Unfortunately, Electron 24 is no longer supported and the problem may have been fixed since then.
  2. We need a small, contained sample of code that triggers this issue so we can reproduce and investigate this issue. That is what the "Testcase Gist URL" is.

I'm going to mark this issue as blocked for those reasons right now. Once you've addressed the concerns above, please do reply here and update your issue body with new information and we can take another look!

@clavin clavin added the blocked/need-repro Needs a test case to reproduce the bug label May 21, 2024
@electron-issue-triage
Copy link

Hello @tn185075. 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 Needs 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.

@tn185075
Copy link
Author

@clavin thanks for taking time out, I will need to isolate the case from our app to provide a reproducible piece of code, which I'll try to. do you recommend upgrading to later version of electron?

@electron-issue-triage electron-issue-triage bot removed the blocked/need-repro Needs a test case to reproduce the bug label May 22, 2024
@clavin
Copy link
Member

clavin commented May 22, 2024

Yes, upgrading to Electron 29 or 30 to make sure this crash is still present in recent versions and not just an old crash that may have been fixed already.

@clavin clavin added the blocked/need-repro Needs a test case to reproduce the bug label May 22, 2024
@electron-issue-triage
Copy link

Unfortunately, without a way to reproduce this issue, we're unable to continue investigation. This issue has been closed and will not be monitored further. If you're able to provide a minimal test case that reproduces this issue on a supported version of Electron please open a new issue and include instructions for reproducing the issue.

@electron-issue-triage electron-issue-triage bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
24-x-y blocked/need-repro Needs a test case to reproduce the bug bug 🪲
Projects
None yet
Development

No branches or pull requests

2 participants