User avatar
camdenorrb
Posts: 3
Joined: Mon May 02, 2016 8:52 pm

Execstack VM warning

Mon May 02, 2016 8:54 pm

Code: Select all

>Java HotSpot(TM) Client VM warning: You have loaded library /tmp/libnetty-transport-native-epoll8070030095081824311.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Is there any ways I could fix this?
Keep it simple stupid

User avatar
MarkHaysHarris777
Posts: 1820
Joined: Mon Mar 23, 2015 7:39 am
Location: Rochester, MN
Contact: Website

Re: Execstack VM warning

Tue May 03, 2016 11:52 am

Code: Select all

It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Did you try that :roll: above?
marcus
:ugeek:

User avatar
camdenorrb
Posts: 3
Joined: Mon May 02, 2016 8:52 pm

Re: Execstack VM warning

Tue May 03, 2016 3:00 pm

MarkHaysHarris777 wrote:

Code: Select all

It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Did you try that :roll: above?
"<libfile>" I am not sure what it is looking for. Also where do I put the -z noexecstack, java -z noexecstack -jar ?
Keep it simple stupid

User avatar
MarkHaysHarris777
Posts: 1820
Joined: Mon Mar 23, 2015 7:39 am
Location: Rochester, MN
Contact: Website

Re: Execstack VM warning

Tue May 03, 2016 3:06 pm

library---> /tmp/libnetty-transport-native-epoll8070030095081824311.so

execstack -c <libfile>
execstack -c /tmp/libnetty-transport-native-epoll8070030095081824311.so

... or link with:

-z noexecstack

Basically, the message text is telling you what is wrong, and how to fix it. Did you try that?
marcus
:ugeek:

User avatar
camdenorrb
Posts: 3
Joined: Mon May 02, 2016 8:52 pm

Re: Execstack VM warning

Tue May 03, 2016 9:46 pm

MarkHaysHarris777 wrote:library---> /tmp/libnetty-transport-native-epoll8070030095081824311.so

execstack -c <libfile>
execstack -c /tmp/libnetty-transport-native-epoll8070030095081824311.so

... or link with:

-z noexecstack

Basically, the message text is telling you what is wrong, and how to fix it. Did you try that?

Code: Select all

[email protected]:~ $ execstack -c /tmp/libnetty-transport-native-epoll8070030095081824311.so
execstack: cannot open "/tmp/libnetty-transport-native-epoll8070030095081824311.so": No such file or directory
No luck :/
Keep it simple stupid

Return to “Java”