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

[IJPL-59368 ][RIDER-111854] IDE crashes due to "chrome-sandbox is owned by root and has mode" error when IDE is launching the JCEF in a sandbox #2734

Open
albinalm opened this issue Apr 30, 2024 · 12 comments

Comments

@albinalm
Copy link

Have you checked the issues and discussions to ensure there are no duplicates?

Yes

Your programming languages

C#

Free or paid?

Paid users

Expected Behavior

It should start right up

Current Behavior

Entire Rider crashes with no detailed error logging.
I've isolated the problem to Rainbow Brackets.

If i load my solution with it disabled > It starts and loads, if I enable the plugin it crashes. Disabling it again, solution loads.
Seems to have bricked my old solution somehow when I cloned it from my repository using the addon. I had to make a new solution, then add all projects again.
It was at that point, when I finally had a working solution I managed to isolate the problem to this plugin.

Code snippet for reproduce

This is a startup error and thus I have no code snippets to provide.

Your Environment

JetBrains Rider 2024.1.1
Build #RD-241.14494.325, built on April 16, 2024
Licensed to Albin Alm
Subscription is active until January 28, 2025.
Runtime version: 17.0.10+8-b1207.12 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 6.8.0-31-generic
.NET Core v8.0.1 x64 (Server GC)
GC: G1 Young Generation, G1 Old Generation
Memory: 3980M
Cores: 24
Registry:
ide.experimental.ui=true
ide.new.project.model.index.case.sensitivity=true
Non-Bundled Plugins:
com.wakatime.intellij.plugin (14.3.13)
com.mallowigi (95.0.0)
Current Desktop: ubuntu:GNOME

@albinalm albinalm added the bug? label Apr 30, 2024
@albinalm

This comment was marked as off-topic.

@izhangzhihao
Copy link
Owner

@albinalm
Copy link
Author

rider-logs.zip

@izhangzhihao

This comment was marked as off-topic.

@albinalm
Copy link
Author

Screencast from 2024-04-30 15-12-16.webm
Weird... Rider and my OS is just installed.

Here's a video demo:ing the issue

@izhangzhihao
Copy link
Owner

izhangzhihao commented Apr 30, 2024

Pls try to uncheck this option before opening your project:
image

@albinalm
Copy link
Author

albinalm commented Apr 30, 2024

Just did, seems to have resolved the issue. Good catch from the video, I just saw you can see it crashing right after displaying the changelog.

No clue what element in the readme that could've caused this issue, but might be good to keep in mind if you encounter this for other users as well.

Thanks!

@izhangzhihao
Copy link
Owner

Very interesting... because I already added a try-catch here:

image

@izhangzhihao
Copy link
Owner

Just created a new issue for the Rider IDE: RIDER-111854

@izhangzhihao izhangzhihao changed the title Causes Rider 2024.1.1 with Ubuntu 24.04 to crash [RIDER-111854] Causes Rider 2024.1.1 with Ubuntu 24.04 to crash Apr 30, 2024
@albinalm
Copy link
Author

Very interesting... because I already added a try-catch here:

image

Yep! Seems to be an IDE issue in that case!

@ajanke

This comment was marked as off-topic.

@izhangzhihao izhangzhihao changed the title [RIDER-111854] Causes Rider 2024.1.1 with Ubuntu 24.04 to crash [IJPL-59368 ][RIDER-111854] Causes Rider 2024.1.1 with Ubuntu 24.04 to crash May 10, 2024
@izhangzhihao
Copy link
Owner

This is now clear: this is a JCEF issue. The workaround is to disable JCEF in the IDE registry (ide.browser.jcef.sandbox.enable key).

@izhangzhihao izhangzhihao changed the title [IJPL-59368 ][RIDER-111854] Causes Rider 2024.1.1 with Ubuntu 24.04 to crash [IJPL-59368 ][RIDER-111854] IDE crashes due to "chrome-sandbox is owned by root and has mode" error when IDE is launching the JCEF in a sandbox May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants