Re: [Sablevm-developer] Problems with 1.0.3 - java/lang/UnsatisfiedLinkError
Brought to you by:
egagnon
From: Mark W. <ma...@kl...> - 2002-08-21 16:30:55
|
Hi, On Wed, 2002-08-21 at 17:11, Etienne M. Gagnon wrote: > The fist thing we want to do it to locate the problem more precisely, > using sablevm-debug. So, here are 3 things to do: > > 1- Run: > > $ sablevm-debug -p "sablevm.verbose.methods" HelloWorld 2>&1 | tail -1000 > output-methods.txt The actual command I ran was: /usr/local/sablevm/bin/sablevm-debug -p "sablevm.verbose.methods=true" \ Hello 2>&1 | tail -5000 > output-methods.txt > 2- Run: > > $ sablevm-debug -p "sablevm.verbose.methods" -p "sablevm.verbose.instructions" HelloWorld 2>&1 | tail -1000 > output-instructions.txt /usr/local/sablevm/bin/sablevm-debug -p "sablevm.verbose.methods=true" \ -p "sablevm.verbose.instructions=true" Hello 2>&1 | tail -10000 > output-instructions.txt I didn't have time to recompile and do the next steps but from the output I suspect the following piece of code in java.io.FileInputStream: public FileInputStream(FileDescriptor fd) throws SecurityException { // Hmmm, no other exception but this one to throw, but if the descriptor // isn't valid, we surely don't have "permission" to read from it. if (!fd.valid()) throw new SecurityException("Invalid FileDescriptor"); Does that make sense to you? Hopefully I can send more data later. (But it might not be till tomorrow). Cheers, Mark |