Re: [Sablevm-user] bug report -- cannot run 'HelloWorld' test
Brought to you by:
egagnon
From: Etienne M. G. <eg...@j-...> - 2000-07-27 19:05:40
|
Hi Andrew, "Purtell, Andrew" wrote: > I downloaded SableVM and Sablepath, and attempted to run the 'HelloWorld' > test as shown on the project home page: >... > executing java/lang/Runtime getLibraryPath ()Ljava/lang/String; > native: Java_java_lang_Runtime_getLibraryPath > executing java/lang/Runtime <init> ()V > > Program received signal SIGSEGV, Segmentation fault This Segmentation fault is expected. Extracted from the "NEWS" file: ----- * version 0.1.4 Removed -Werror compiler option from distribution. As before, it only runs until a native call to Java_java_lang_Runtime_getLibraryPath(). ----- What is happening is that SableVM doesn't succeed at resolving the symbol "Java_java_lang_Runtime_getLibraryPath" in a dynamically linked library. As the lookup procedure for linking dynamic libraries is not fully implemented, I didn't want to spend time (yet) making SableVM fail gracefully on failure to lookup a symbol. I am currently working on this, as I want to be able to test SablePath's native code, which requires library dynamic lookup. Etienne -- ---------------------------------------------------------------------- Etienne M. Gagnon, M.Sc. e-mail: eg...@j-... Author of SableVM: http://www.sablevm.org/ ---------------------------------------------------------------------- |