jna tmp library disabling stack guard? (lein-daemon)
- Sean Corfield
- 2013-11-02 @ 02:15
Since I moved some of our processes to Java 7, I've noticed this when
starting processes with lein-daemon:
Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /tmp/jna22930
88638268291689.tmp 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'.
This is on 64-bit RHEL 5 & 6 with Leiningen 2.3.2 on Java 1.7.0_45.
The VM always seems to "fix" the problem and everything runs fine, as
far as I can tell. This jna*.tmp file is created in /tmp along with
lein-trampoline*.tmp and form-init*.tmp - from the filename formats,
it looks like the jna and form-init files are both created by
lein-daemon, not lein itself. The lein-trampoline file is empty
I figured I'd ask before creating an issue against lein-daemon in case
anyone had useful input I could add to the ticket...
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)