"find_vma failed" warning

Hi,

I've set up a root jail environment with only Java facilities on a linux system.

In order to complete it, I copied the libc libraries and the jdk.

When I test if Java works, here's what I get:

Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed

then it still runs my Java class. But I only tested only with a "Hello World".

Anyone would have a hint about what could be the problem?

Thanks.

[490 byte] By [ppatricka] at [2007-10-2 13:46:10]
# 1
If the os is BSD, the problem is known: http://www.google.com/search?q=Can't+detect+initial+thread+stack+location+-+find_vma+failedOne post - http://drftpd.org/index.php/FreeBSD_Install_HOWTO - suggests ignore the error.
ChuckBinga at 2007-7-13 11:43:37 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 2
I see this happening on linux as well, when using JDK 1.5.0_06 on SunOne 6.1 SP2 ( haven't tried SP5 ) ... although everything seems to be working without any issues.The OS is Fedora Core 3.
j.salvoa at 2007-7-13 11:43:37 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 3

As an FYI .. the virtual instance using JDK 1.5.0_06 on SunOne 6.1 SP2 is running as a non-root user.

This one suggests that it maybe related to a chroot'ed environment:

http://72.14.203.104/search?q=cache:7Jrc04JaxOQJ:bugs.sun.com/bugdatabase/view_bug.do%3Fbug_id%3D5018791+%22Can%27t+detect+initial+thread+stack+location+-+find_vma+failed%22&hl=en&ct=clnk&cd=20&ie=UTF-8

Although the virtual instance of SunOne is running as a non-root user, I don't believe it is running in a chroot'ed environment.

j.salvoa at 2007-7-13 11:43:37 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...