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

Bug: Not starting on Ubuntu Ubuntu 24.04 LTS #2480

Open
Flattermann78 opened this issue Jul 26, 2024 · 2 comments
Open

Bug: Not starting on Ubuntu Ubuntu 24.04 LTS #2480

Flattermann78 opened this issue Jul 26, 2024 · 2 comments

Comments

@Flattermann78
Copy link

🐞 bug report

Affected Version(s)

Luban 4.13.0 ist not starting on my Ubuntu 24.04 LTS. Command line reports

LaunchProcess: failed to execvp:
/opt/Snapmaker

and it claims that a memory dump is written.

Is this a regression? (optional)

Not that I'm aware of.

Yes, the previous version in which this bug was not present was: ....

First encounter

To Reproduce

I only installed the new version and it failed. Unfortunately, I haven't tried the old version after system update.

A clear and concise description of the problem...

Expected behavior

The Luban should start :-)

🌍 Your Environment

Platform:



- Operating System: Ubuntu 24.04
- Printer:  Snapmaker A250

@aiurlano
Copy link
Contributor

It's happening for me as well after upgrading to Ubuntu 24.04 LTS.
I had Luban 4.12.0 installed which was working fine before upgrade.
After ubuntu upgrade, I can confirm both 4.12.0 and 4.13.0 are not starting with the error:

:~$ snapmaker-luban
LaunchProcess: failed to execvp:
/opt/Snapmaker
Trace/breakpoint trap
[38282:0100/000000.684022:ERROR:zygote_linux.cc(646)] write: Broken pipe (32)

@aiurlano
Copy link
Contributor

aiurlano commented Jul 31, 2024

After some investigation I found out that it is most likely caused by this issue which is hitting several electron apps.
It seems related to apparmor Unprivileged user namespace restrictions that are now enabled by default in Ubuntu 24.04

Disabling the sandbox makes Luban start:
snapmaker-luban --no-sandbox --disable-gpu-sandbox

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

No branches or pull requests

2 participants