Bug #1141

Linuxulator outdated

Added by robinj over 5 years ago. Updated about 4 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

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?

History

#1 Updated by corecode over 5 years ago

No, it is not out of sync, it is plain old. The linuxulator code needs
updating.

cheers
simon

#2 Updated by robinj over 5 years ago

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

#3 Updated by alexh about 5 years ago

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.

#4 Updated by corecode about 5 years ago

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

#5 Updated by alexh over 4 years ago

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