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
set -lx LC_ALL C
segfaults fish on alpine linux
#4387
Comments
Okay, let's try to figure out where exactly the issue happens. This should be executing If that still crashes, try make -C . -prRn | awk -v RS= -F: '/^# Files/,/^# Finished Make data base/ {if ($1 !~ "^[#.]") {print $1}}' ^/dev/null If it returns something else without crashing, try make -C $directory -d g1 -rn >/dev/null ^| awk -F, '/^#\*\*\* Input graph:/,/^$/ {if ($1 !~ "^#... ") {gsub(/# /,"",$1); print $1}}' ^/dev/null |
i think the second make command didnt worked
|
Sorry, for the second also use "." instead of |
Sorry, complete red herring. This crashes in |
Yeah... it's a PaX thing. Running
|
Nope, that's normal when running gdb under PaX. |
Okay, now I have managed to
That PaX stuff is still throwing me off. Ideally I'd love to have a fish with debug information that I can reproduce this on. The package either doesn't have that or PaX is blocking it. |
set -lx LC_ALL C
segfaults fish on alpine linux
Okay, I have figured out how to build a fish package with debug symbols (add However, I have then failed at installing that package - it constantly tells me about how it's untrusted. The documentation seems to be near-nonexistent (no man pages, the wiki is ... sparse), so I'm giving up on this for the time being. @xsteadfastx: Please build a fish with debug info attached, and run |
ok i try it. i built some alpine packages before... i will try to get it going |
built it and installed it but
|
You want |
|
and guess what... if i run that version the make completions work.... without a segfault. all i did was... using the same APKBUILD as the package with that problem and added the |
Please report a bug to the alpine people. I'm assuming fish needs to be rebuilt. |
a dev is testing it right now. i keep you updated |
The Alpine documentation is a mess (and I am personally trying to fix it). You need to use
My local machine is set up for debugging packages and never strips them. Unfortunately I cannot duplicate on it either :( What platform are you using? x86_64? |
im here on x86_64 |
No line information, but I did pull this out of the x86_64 fish APK from Alpine Edge:
|
This crash is caused by the POSIX conformance bug I filed against fortify-headers some time ago. This should be fixed on the next Alpine build cycle. |
@awilfox: Thanks for your assistance! Since there is nothing for us to do, I'll close this issue. |
running makefile completions results in a segfault in alpine linux edge.
reproduce:
recorded: https://asciinema.org/a/HNYMR4Qo7Zlcdc8ZTjbMbCegc
here some infos:
The text was updated successfully, but these errors were encountered: