Skip to content

fix(macos): stabilize startup (db & ipc & early rpc) initialization#1472

Open
amirHdev wants to merge 1 commit into
throneproj:devfrom
amirHdev:fix/macos-startup-stability
Open

fix(macos): stabilize startup (db & ipc & early rpc) initialization#1472
amirHdev wants to merge 1 commit into
throneproj:devfrom
amirHdev:fix/macos-startup-stability

Conversation

@amirHdev

@amirHdev amirHdev commented May 20, 2026

Copy link
Copy Markdown

This change fixes a set of macOS startup failures that were happening at different stages of application initialization.
The first issue was database startup using a path derived from the app bundle before the runtime had switched to a writable application data directory which caused SQLite initialization to fail on macOS. the second issue was instance IPC setup via QLocalServer where the original naming and socket path strategy was not reliable for macOS runtime conditions. the third issue was an early UI status refresh path calling into privilege detection before the RPC client had been initialized which led to a null dereference during startup.

The bug I faced with: for db startup one:
bug.txt

Fixes #1352

Signed-off-by: Amirhossein Akhlaghpour <m9.akhlaghpoor@gmail.com>
@Proxomotron

Copy link
Copy Markdown

Thanks. All work )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Throne 1.1.2 stores database inside the app bundle, causing multi-user conflicts on macOS

2 participants