Bug #1141
closed
Added by robinj about 16 years ago.
Updated over 14 years ago.
Description
%./java
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
- find_vma failed
Bad system call
dmesg:
linux: syscall madvise is obsoleted or not implemented (pid=5211)
is the linux compatibility layer out of sync with the kernel?
No, it is not out of sync, it is plain old. The linuxulator code needs
updating.
cheers
simon
Fixing the linuxulator is out of my league, I'm afraid! If I can find some
other way of getting java 1.5 or 1.6 to work, I'll post it in the Wiki.
Thanks,
--Robin
IMHO madvice() is not as crucial so just implementing a stub returning zero, or
even error instead of the dummy function returning bad syscall should be enough
to fix this particular one.
Yes, madvice isn't the problem (and not the cause for the crash), but the
fact that we're missing all newer (i.e. 2.4.8+ (or so)) linux syscalls
cheers
simon
IMHO the first step to get linuxulator updated is to get ltp (linux test
project) working for us. Point is to compile ltp on some linux machine and
then get it to run its test on DragonFly so one can see what we are missing.
If anyone gets ltp running, updating linuxulator will be a lot easier as
function after function can be added and directly tested, so please, if
someone has the time...
Cheers,
Alex Hornung
Also available in: Atom
PDF