[Bug]: SIGTRAP on callback of registerFileProtocol #32915
Labels
17-x-y
bug 🪲
has-repro-gist
Issue can be reproduced with code at https://gist.github.com/
platform/macOS
platform/windows
status/confirmed
A maintainer reproduced the bug or agreed with the feature
Projects
Preflight Checklist
Electron Version
17.0.1
What operating system are you using?
macOS
Operating System Version
macOS Monterey 12.0.1
What arch are you using?
arm64 (including Apple Silicon)
Last Known Working Electron version
unknown
Expected Behavior
registerFileProtocol
callback should return the file and not kill the application with a SIGTRAP.Actual Behavior
If you try to load a file over a custom file protocol registered with
registerFileProtocol
electron should not crash.Testcase Gist URL
https://gist.github.com/1a886dfdf51217d8e8450e3723a0bb63
Additional Information
Just click "Load iframe" in the Fiddle and Electron will crash, I tested this on windows as well with the same result.
The text was updated successfully, but these errors were encountered: