Closed Friend-LGA closed 7 months ago
Crash is happening every time Electron app is closed.
realm::util::Logger
nodeIntegration
main
renderer
➤ PM Bot commented:
Jira ticket: RSTUDIO-532
Sorry, the issue meant to be for realm-js project. I will reopen it there and close this one.
realm-js
Crash is happening every time Electron app is closed.
realm::util::Logger
nodeIntegration
is disabled and RealmDB is created and used only in themain
process (not in therenderer
)MacOS Crash Report
``` ------------------------------------- Translated Report (Full Report Below) ------------------------------------- Process: UNIAPP [54916] Path: /Users/USER/*/UNIAPP.app/Contents/MacOS/UNIAPP Identifier: com.electron.uniapp Version: 0.0.0-alpha (0.0.0-alpha) Code Type: X86-64 (Native) Parent Process: launchd [1] User ID: 501 Date/Time: 2024-04-12 04:01:03.8544 +0300 OS Version: macOS 13.6.6 (22G630) Report Version: 12 Bridge OS Version: 3.0 (14Y910) Anonymous UUID: 222575DC-4AE7-1665-2000-5EE54E39D52A Sleep/Wake UUID: CD283BEE-602A-4C16-9AF5-507D96990743 Time Awake Since Boot: 280000 seconds Time Since Wake: 57891 seconds System Integrity Protection: enabled Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000008 Exception Codes: 0x0000000000000001, 0x0000000000000008 VM Region Info: 0x8 is not in any region. Bytes before following region: 140737488244728 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START ---> shared memory 7ffffffe5000-7ffffffe6000 [ 4K] r-x/r-x SM=SHM Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread 0 Electron Framework 0x119a389fd node_api_get_module_file_name + 333 1 Electron Framework 0x119a2a23e node::Stop(node::Environment*, node::StopFlags::Flags) + 7886 2 Electron Framework 0x119a321d0 napi_delete_reference + 32 3 .com.electron.uniapp.gj7DA0 0x160b07f51 std::__1::__shared_ptr_emplaceCrash info from terminal
``` > ~ /Users/user/Projects/uniapp/dist/electron/Packaged/UNIAPP-darwin-x64/UNIAPP.app/Contents/MacOS/UNIAPP ; exit; [1] 53176 segmentation fault Saving session...completed. [Process completed] ```package.json
```json { "scripts": { "dev": "quasar dev -m electron", "build": "quasar build -m electron", }, "dependencies": { "@quasar/extras": "1.16.9", "quasar": "2.15.1", "realm": "12.6.2" }, "devDependencies": { "@quasar/app-vite": "1.8.0", "@quasar/cli": "2.4.0", "@types/node": "20.11.1", "electron": "29.1.4", "electron-packager": "17.1.2", "typescript": "5.4.2" }, "engines": { "node": "20.11.1" }, "browserslist": [ "last 1 Electron major versions" ], "packageManager": "yarn@4.1.1" } ```