Re: sablevm hanging on Xscale PXA255 ARM linux
"Grzegorz B. Prokopski" <[email protected]>
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Organization | Debian GNU/Linux http://www.debian.org |
| Message-ID | <[email protected]> |
W liście z pon, 09-08-2004, godz. 08:57, Asutosh Gopinath pisze: > Hi, > > I rebuilt sablevm with CFLAGS="-O0" When you use --enable-debugging-features the -O0 is enabled automatically. > It hangs at rt_sigsuspend.. > I paste the strace output below: > rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0 > rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0 > rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0 > rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0 > --- SIGSEGV (Segmentation fault) --- > rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0 > rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0 > rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0 > rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0 > rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0 > rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0 > rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0 > rt_sigsuspend([] A signle segfault at the start, before execution of any bytecode is normal thing when you have --enable-signals-for-exceptions. However your trace shows that sablevm hangs after second segfault which might or might not be an indication of a problem. I think you should compile with: --enable-debugging-features and --disable-signals-for-exceptions, then run something like "sablevm -Y WrongClass". You should get a "Class not found" exceptions which would be good thing as it would mean that the JVM is at least able to bootstrap. Can you quickly do the above test and mail us the result? Then we'll get into what can be done further. HTH Grzegorz B. Prokopski -- Grzegorz B. Prokopski <[email protected]> Debian GNU/Linux http://www.debian.org SableVM - LGPL'ed Java VM http://www.sablevm.org Why SableVM ?!? http://devel.sablevm.org/wiki/Features