Hi, I'm trying to setup an installation of the IDE 2.3 in a Ubuntu 24.04 LTS (beta) environment, and am facing an issue I'm unable to resolve.
What I tried from the internet
The App Image complains about Chrome Sandbox. Someone has had this issue in the past, but in their case, they got a path for chrome-sandbox
in /home/username/...
so it was always the same, and they could chown
it. I'm getting a random path in /tmp
and it always vanishes after the App Image crashes.
Source: Linux install issues - #4 by ramjeepee
CLI output
username@username-e14:/opt$ ./arduino-ide_2.3.2_Linux_64bit.AppImage
[14059:0413/233905.813890: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 /tmp/.mount_arduinGsNYxm/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)
username@username-e14:/opt$ ll
total 185608
drwxr-xr-x 9 root root 4096 Apr 13 23:32 ./
drwxr-xr-x 23 root root 4096 Apr 12 10:14 ../
-rwxrwxr-x 1 username username 190013338 Apr 13 23:16 arduino-ide_2.3.2_Linux_64bit.AppImage*
drwxr-xr-x 8 root root 4096 Apr 12 20:18 arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi/
drwxr-xr-x 3 root root 4096 Apr 12 11:07 google/
drwx------ 2 root root 16384 Apr 12 10:15 lost+found/
drwxr-xr-x 5 root root 4096 Apr 12 21:10 .pio-env/
drwxr-xr-x 3 root root 4096 Apr 12 20:21 STMicroelectronics/
I've tried these ownership combinations for the App Image, and all three give the same issue:
$ sudo chown username:username arduino-ide_2.3.2_Linux_64bit.AppImage
$ sudo chown root:username arduino-ide_2.3.2_Linux_64bit.AppImage
$ sudo chown root:root arduino-ide_2.3.2_Linux_64bit.AppImage
How do I proceed?
1 Like
myk
May 4, 2024, 9:26am
2
Released 24.04, Arduino crashes. Or is SIGTRAP deliberately dumping core instead of exiting with error code?
It will run with --no-sandbox . Why is it using a sandbox? It that an Appimage thing? Why can't we just use an old-fashioned debian package?
2 Likes
I see the same issue, but no solution:
$ ./arduino-ide_2.3.2_Linux_64bit.AppImage
[15619:0504/215325.124140: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 /tmp/.mount_arduinI1UmwQ/chrome-sandbox is owned by root and has mode 4755.
Hi all. The developers are tracking the need to improve the user experience related to this issue here (thanks @AndreK !):
opened 02:40PM - 05 May 24 UTC
type: imperfection
### Describe the problem
```
./arduino-ide_2.3.2_Linux_64bit.AppImage
[49662… :0505/163801.040968: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 /tmp/.mount_arduinl1RTCc/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)
```
### To reproduce
Start .AppImage on Ubuntu 24.04
### Expected behavior
Work as normal.
### Arduino IDE version
2.3.2
### Operating system
Linux
### Operating system version
Ubuntu 24.04
### Additional context
_No response_
### Issue checklist
- [X] I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=)
- [X] I verified the problem still occurs when using the latest [nightly build](https://www.arduino.cc/en/software#nightly-builds)
- [X] My report contains all necessary details
A community member provided instructions to solve the problem in this comment:
https://github.com/arduino/arduino-ide/issues/2429#issuecomment-2099775010
2 Likes
system
Closed
November 16, 2024, 7:29am
5
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.