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

segfault: make run fails on debian #468

Closed
mchaker opened this issue Dec 7, 2022 · 4 comments
Closed

segfault: make run fails on debian #468

mchaker opened this issue Dec 7, 2022 · 4 comments

Comments

@mchaker
Copy link

mchaker commented Dec 7, 2022

just pulled the latest git repo, commit 3366248

make seems to succeed -- things are compiled

however make run results in:

Segmentation fault
make: *** [makefile:64: run] Error 139

trying to install ly for systemd seems to "work" (as in, it installs the files) but then results in the service just failing to start (so ly never actually works after being installed)

@mindsDevCom
Copy link

Introduced by 1915376

Changing
char* name_simple = strdup(name_len);
to
char* name_simple = strdup(name);

in input.c, line 199 fixes the issue.

@mchaker
Copy link
Author

mchaker commented Dec 7, 2022

That worked! Thank you so much

@aksu560
Copy link

aksu560 commented Dec 12, 2022

This is still happening when building on Ubuntu 20.04

@OliverIngle
Copy link

I have just tried installing the latest release (v0.6.0), but when I got to the sudo make run step I got the error mentioned above
Segmentation fault (core dumped) make: *** [makefile:64: run] Error 139
So I tried the fix mentioned above, changing the line 199 of inputs.c, but it seems to have already been corrected since the original issue, but yet I'm still getting the error.

I'm using Ubuntu 22.04.3 LTS with Gnome.

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

5 participants