-
Notifications
You must be signed in to change notification settings - Fork 822
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
cannot enable executable stack as shared object requires: Invalid argument #916
Comments
Thanks for reporting the issue. This is the same as #286 that you commented on earlier so closing this out as a duplicate. Please give us feedback on the user voice page so we can prioritize. |
are you absolutely sure it is the exact same issue and not just the same symptom? |
"...in this world nothing can be said to be certain, except death and taxes." - Ben Franklin. More seriously though :), the error string above is hardcoded into the glibc loader (see dl-load.c) so I'm pretty sure it's the same issue. If you want to confirm please take a strace and check for a failure with PROT_GROWSDOWN like the other post. |
I just ran into this issue when trying to get Swift 3.0.1 running under WSL on Windows 14965. Had to clear the executable stack flag in libFoundation.so ("execstack -c <pathToSwift>/usr/lib/swift/linux/libFoundation.so"), but once I did that helloworld.swift demo ran using "swift helloworld.swift". |
Issue with ansible-vault. Here is the trace stack running Windows 10 Pro Build 15063
|
@Hickory420 I encounter the same problem with latest version of ansible. Downgrading cryptography fixed this problem for me. ansible-vault is now working. |
Thanks, @guisea! Running |
- Adding mutable global rather than use a closure for `vec_size`. - Manually granting libraries ability to execute on stack in WSL. See: microsoft/WSL#286 https://stackoverflow.com/q/39136040/1068170 microsoft/WSL#916 https://gist.github.com/dhermes/f448415b9160b785f503a7361fe40d51 microsoft/WSL#2546
- Adding mutable global rather than use a closure for `vec_size`. - Manually granting libraries ability to execute on stack in WSL. See: microsoft/WSL#286 https://stackoverflow.com/q/39136040/1068170 microsoft/WSL#916 https://gist.github.com/dhermes/f448415b9160b785f503a7361fe40d51 microsoft/WSL#2546
The lastest cryptography release can be used, but it needs to be manually compiled:
|
This error appears to be fixable, using execstack sudo apt-get install prelink |
I solved that with execstack -c /usr/local/lib/opencv.so* |
I too faced same problem. Error as "gst-inspect-1.0 dtls (gst-plugin-scanner:26987): GStreamer-WARNING **: Failed to load plugin '/usr/local/lib/gstreamer-1.0/libgstdtls.so': libcrypto.so.1.1: cannot enable executable stack as shared object requires: Invalid argument (gst-plugin-scanner:26987): GStreamer-WARNING **: Failed to load plugin '/usr/local/lib/gstreamer-1.0/libgstdtls.so': libcrypto.so.1.1: cannot enable executable stack as shared object requires: Invalid argument After giving below, it resolved execstack -c /usr/local/lib/libcrypto.so.1.1 Hope this helps! |
Did you find a solution for this? |
The text was updated successfully, but these errors were encountered: