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

Segmentation fault on elementary OS 6.0 on building using maven #77

Open
sriram2000na opened this issue Dec 19, 2021 · 3 comments
Open

Comments

@sriram2000na
Copy link

On following the build instructions, I get no information whether clipped is installed successfully.
image
Moreover, upon going to /usr/bin and trying to run ./com.github.davidmhewitt.clipped gives a segmentation fault.
image
I am using elementary OS 6.0. I am not sure if it is an issue or not.

Thank you,
Regards,
Sriram Na

@sriram2000na
Copy link
Author

On using gdb run, it also gives this
image

@asukamae
Copy link

Hi, I have the same problem with elementary OS 6.1 Jólnir.
Screenshot from 2022-01-30 03 33 18

@ryonakano
Copy link
Contributor

Looking at your log, I assume the cause of this issue would be the lack of gettext.

According to your gdb log, the app is receiving SIGSEGV at the following line:

var desktop_file_path = new DesktopAppInfo (desktop_file_name).filename;

and the reason of this SIGSEGV is that the desktop file passed to the new argument does not exist.

Next looking at the build log it says:

WARNING: Gettext not found, all translation targets will be ignored.

The desktop file is one of the translation targets, so it's not generated nor installed to your system, and this is the reason why it does not exist.
So, I assume installing gettext on your environment should fix the issue.

FYI I built the app on elementary OS 7 Daily Access but it launches as expected (here is my build log: build.log).

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

3 participants