-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Electron
-
2 - S (<= 1 week)
-
4777
How frequently does the bug occur?
All the time
Description
Hello, I'm trying to use Realm for my app using electron. I want to open the same realm from main and renderer processes.
I managed to import realm and open my db from main process.
I also imported and opened the realm from renderer process and it works. The issue is when I try to reload the web page (which happens a lot during development) V8 context crash from receiving a signal 11 (SIGSEGV).
Note that even if I remove all the realm code from renderer (not even trying to open the db) this error still occurs. The only way to make this crash disappear is to totally remove the import statement of Realm from renderer.
I have a branch on my repo where you can reproduce the bug: https://github.com/yadPe/beatconnect_client/pull/501
I hope the issue is not caused from a miss configuration or something else on my side.
Stacktrace & log output
Received signal 11 <unknown> 000000000000
[0x00011eabde79]
[0x00011ea21c33]
[0x00011eabdd30]
[0x7ff801eaee2d]
[0x00000000943b]
[0x000115261738]
[0x0001152614b4]
[0x00012216e0bb]
[0x0001221936ef]
[0x00012219238e]
[0x00011cce7e94]
[0x0011dff0c038]
[end of stack trace]
Renderer process crashed - see https://www.electronjs.org/docs/tutorial/application-debugging for potential debugging information.
Can you reproduce the bug?
Yes, always
Reproduction Steps
No response
Version
10.19.5
What SDK flavour are you using?
Local Database only
Are you using encryption?
No, not using encryption
Platform OS and version(s)
macOS Monterey 12.2.1
Build environment
Electron 19.0.4
Chromium 102.0.5005.61
Node v16.14.2
V8 10.2
Cocoapods version
No response