Re: SableVM on ARM Zaurus

"Grzegorz B. Prokopski" <[email protected]>
Newsgroups gmane.comp.java.vm.sablevm.general
Organization SableVM - LGPL'ed Free Java VM http://sablevm.org
Message-ID <[email protected]>
On Thu, 2005-06-01 at 22:41 +0100, Cortez The Killer wrote:
> I had to compile strace first, because this tool is not commonly known
> on Zaurus. Anyway, no problem, the complete strace from my sample AWT
> Java is attached.
> 
> I hope you can see something special, because I don't ;-)

Kind of.  I grepped for "libgtkpeer" and it looks like the library is
properly found, opened, read etc...  Though I am not quite sure why
do I see a the end SableVM being "killed by SIGINT" !

Can you add --enable-debugging-features to 'sablevm's ./configure,
remove any --with-threading=... option, and recompile reinstall it?
(no need to touch sablevm-classpath or any other software)

Do you get any additional information (ie. a failed assertion) when
ran normally?


There's also other things I have not asked you about yet, i.e.
does the app you're trying to run on ARM run when you use SableVM
on an x86?


I also went thru all the code involved in initiating gtkpeers
and then loading a library, up to sablevm native method 
Java_java_lang_VMRuntime_nativeLoad in
src/libsablevm/java_lang_VMRuntime.c

I do not know if you have gdb running reliably on your Taurus
(I remember there were problems with it sometimes), so if I were
you, I'd put in the above function a few 'printf(); fflush(NULL);'
statments that would show with what parameters its called,
what is the control flow inside and where exactly it fails!


For now I suspect a libtool problem that we might need to work
around (though the strange thing is that the .so library actually
is found, opened and read).


It might seem a vague advice, but you should not give up.  It's
probable we're very near finding the exact problem.  Just a little
more patience :-)

Cheers,

				Grzegorz B. Prokopski
-- 
Grzegorz B. Prokopski           <[email protected]>
SableVM - Free, LGPL'ed Java VM  http://sablevm.org
Why SableVM ?!?                  http://sablevm.org/wiki/Features
Debian GNU/Linux - the Free OS   http://www.debian.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.