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

IDE hangs on startup due to problem with chrome-sandbox #2593

Closed
gatherinegod opened this issue Dec 5, 2024 · 3 comments
Closed

IDE hangs on startup due to problem with chrome-sandbox #2593

gatherinegod opened this issue Dec 5, 2024 · 3 comments
Labels
conclusion: duplicate Has already been submitted os: linux Specific to Linux operating system type: imperfection Perceived defect in any part of project

Comments

@gatherinegod
Copy link

gatherinegod commented Dec 5, 2024

Describe the problem

I found an error in chrome-sandbox.

I'm in Lubuntu and I'm using the .zip IDE. IDE executes but don't charge, only appears the load window but I can't use it.

I replaced the chrome-sandbox file with the one from Arduino IDE 2.3.3 and it works now.

To reproduce

Start Arduino IDE.

Expected behavior

Arduino IDE starts.

Arduino IDE version

2.3.4

Operating system

Linux

Operating system version

Lubuntu (version not specified)

@per1234 per1234 transferred this issue from arduino/Arduino Dec 5, 2024
@per1234 per1234 added the type: imperfection Perceived defect in any part of project label Dec 5, 2024
@per1234 per1234 changed the title Problem with chrome-sandbox in version 2.3.4. IDE hangs on startup due to problem with chrome-sandbox Dec 5, 2024
@per1234
Copy link
Contributor

per1234 commented Dec 5, 2024

Thanks for your report @gatherinegod. I'm going to ask you to provide some additional information that might help us to identify the problem.


❗ This procedure is not intended to solve the problem. The purpose is to gather more information.


Please do this:

  1. Close all Arduino IDE windows if the IDE is already running.
  2. Replace the chrome-sandbox file with the original file (or make a fresh installation of Arduino IDE 2.3.4).
  3. Open a command line terminal in the folder that contains the Arduino IDE installation.
  4. Type the following command:
    ./arduino-ide
    
  5. Press the Enter key.
    Debug output should now be printed to the PowerShell window as Arduino IDE starts (or fails to start).
  6. Wait for Arduino IDE to finish starting, or failing to start.
  7. Switch back to the terminal window if the Arduino IDE window took the focus.
  8. Use the mouse to select all the text in the terminal window. Make sure to scroll all the way up to the top.
  9. Press the Ctrl+Shift+C keyboard shortcut to copy the selected text to the clipboard.
  10. Paste (Ctrl+V) the copied output in a reply to this GitHub issue thread.

Please let me know if you have any questions or problems while following those instructions.

@per1234 per1234 added the status: waiting for information More information must be provided before work can proceed label Dec 5, 2024
@gatherinegod
Copy link
Author

Ok, first of all I have this problem, I need to configurate chrome-sandbox:

[23396:1205/191936.218932:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/drakter/Descargas/arduino-ide_2.3.4_Linux_64bit/chrome-sandbox is owned by root and has mode 4755.

That I solve doing this:
sudo chown root:root /path/to/chrome-sandbox
sudo chmod 4755 /path/to/chrome-sandbox

Now I don't know what's happening but works, maybe is because I used it before in the new version and all packages are updated?

@per1234
Copy link
Contributor

per1234 commented Dec 5, 2024

Thanks for the update. I think we are already tracking the issue at #2429 so I'll go ahead and close this.

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 5, 2024
@per1234 per1234 added conclusion: duplicate Has already been submitted os: linux Specific to Linux operating system and removed status: waiting for information More information must be provided before work can proceed labels Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted os: linux Specific to Linux operating system type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants