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
frame_converter.cc creates a new ObjectTemplate on every IPC call, causing V8 crash after 2²⁸ IPC messages are sent #53380
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
44.1.0, 43.5.0, 42.11.0
What operating system(s) are you using?
Windows
Operating System Version
Windows 11 26100.9106
What arch are you using?
x64
Last Known Working Electron version
No response
Does the issue also appear in Chromium / Google Chrome?
No
Expected Behavior
Electron's ipcRenderer API is not subject to a maximum number of IPC messages sent in a single launch of the process
Actual Behavior
Currently the 2²⁸th message sent from a renderer to main will result in an application crash. I have confirmed this on both MacOS and Windows hosts, and have no reason to believe that Linux would behave differently either
This was previously reported under #52343 but closed / dismissed as AI slop. While the report lacked sufficient detail / understanding (calling it AI slop would not be unfair) it actually was correctly pointing to a real bug. From what I was able to gather this change introduced the bug and was fixing build failures caused by the persistent rfh_templ due to enabling the -Wexit-time-destructors build flag.
I used the supplied repro and left it running until the 29-bit BitField space was exhausted with the MSVC debugger attached and sure enough this crash manifests at precisely the 2²⁹th instantiated ObjectTemplate:
I wish I had a faster way to repro this for you but ~80k IPC messages / sec was the peak I could reach which takes ~1 hour to crash.
Activity
YUCLing commentedon Sep 1, 2026
Just tested on my machine, and it does crash
Here's the content of the checkpoint file.
NaterGator commentedon Sep 2, 2026
I was also able to repro this on Ubuntu 24.04.4 LTS under WSL2:
Last checkpoint:
deepak1556 commentedon Sep 2, 2026
Thank you for taking the time to create a minimal repro.