Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux AppImage: ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process. #116

Open
akwala opened this issue Oct 5, 2022 · 4 comments
Labels

Comments

@akwala
Copy link

akwala commented Oct 5, 2022

This happens when I try to launch the AppImage. It hangs without showing the window, does not exit.

$ /home/user/Applications/PanWriter-0.8.4_e892e0f135d23cc0b17564455c987916.AppImage --no-sandbox
Error loading or parsing YAML file.ENOENT: no such file or directory, open '/home/user/.config/PanWriterUserData/settings.yaml'
Checking for update
[18789:1005/004805.023111:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
Update for version 0.8.4 is not available (latest version: 0.8.4, downgrade is disallowed).
checkForUpdatesAndNotify called, downloadPromise is null

Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.6
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-46-generic (64-bit)
Graphics Platform: X11
Graphics Processor: Mesa Intel® Xe Graphics

@mb21 mb21 changed the title ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process. Linux AppImage: ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process. Oct 5, 2022
@mb21
Copy link
Owner

mb21 commented Oct 5, 2022

Hm... I don't know much about appimages... perhaps updating to the latest Electron version would help... happy to accept a pull request!

@akwala
Copy link
Author

akwala commented Oct 9, 2022

The reported ERROR:sandbox_linux.cc(377) might be misleading. It was also reported when I ran Panwriter in development mode from the source, but it didn't keep Panwriter from launching:

10:16:55 PM - Starting compilation in watch mode...
[1] 
[0] No issues found.
[2] Error loading or parsing YAML file.ENOENT: no such file or directory, open '/home/user/.config/PanWriterUserData/settings.yaml'
[2] [18538:1008/221701.401643:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
[2] APPIMAGE env is not defined, current application is not an AppImage
[2] no recentFiles found? [Error: ENOENT: no such file or directory, open '/home/user/.config/PanWriter/recentFiles.json'] {
[2]   errno: -2,
[2]   code: 'ENOENT',
[2]   syscall: 'open',
[2]   path: '/home/user/.config/PanWriter/recentFiles.json'
[2] }
[1] 
[1] 10:17:02 PM - Found 0 errors. Watching for file changes.

@mb21
Copy link
Owner

mb21 commented Oct 19, 2022

So it works when building from source but not when running from the appimage?

@akwala
Copy link
Author

akwala commented Oct 19, 2022

So it works when building from source but not when running from the appimage?

Panwriter launches in dev mode, as expected, when I do yarn run electron:dev.

ERROR:sandbox_linux.cc(377) did not happen with "electron-builder": "^23.6.0" in "devDependencies" in package.json. However, this didn't fix the AppImage issue, nor did "electron": "^21.0.1".

I posted a question in the AppImage forum over week ago, no responses so far.

@mb21 mb21 added the package label Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants