New binary build of MLVM available

2009-08-02 Thread Attila Szegedi
Folks, I rebuilt the MLVM for Mac OS X from the current Mercurial sources around August 1, 1 AM Central European Time; you can get it at: Attila. ___ mlvm-dev mailing list

Still crashity crashing

2009-08-02 Thread Charles Oliver Nutter
Ok, finally circled back around to testing things again. With Attila's build, I'm still getting crashes, but more seems to work. I've attached the dump from the crash. To reproduce: 1. grab and unpack a JRuby nightly from 2. set MLVM into JAVA_HOME 3. run bin/jruby -J-Djruby.compile.invokedynamic

Re: Still crashity crashing

2009-08-02 Thread Attila Szegedi
I too managed to crash it yesterday, but it turned out I accidentally emitted invalid bytecode from ASM - I forgot to end the binary name of a class with semicolon in method signature of an invokedynamic instruction. Amazingly, neither ASM nor the verifier caught it. The crash message was

Re: Still crashity crashing

2009-08-02 Thread Attila Szegedi
Specifically, in my case emitting a class through ASM that has this in it: mv.visitMethodInsn(INVOKEDYNAMIC, "java/dyn/InvokeDynamic", "dyn:getprop:helloText", "(Ljava/lang/Object;)Ljava/lang/String"); crashes the JVM sometime after it loads the class. Note how there's no semicolon

Re: Still crashity crashing

2009-08-02 Thread Rémi Forax
This is another error here. GuardWithTest adapter try to report a NPE but fillInStackTrace() crash when walking the stack to gather all frames. The good question is how GuardWithTest can throw a NPE knowing that test, target and fallback are null checked before its creation. By the way, John :

Re: Still crashity crashing

2009-08-02 Thread Charles Oliver Nutter
On Sun, Aug 2, 2009 at 5:21 PM, Rémi Forax wrote: > Charles, could you try with -Xint, just to see if the NPE is still thrown or > not ? With -Xint it works fine, and runs fib(30) for as long as I choose to let it run. - Charlie ___ mlvm-dev mailing lis

Re: Still crashity crashing

2009-08-02 Thread Charles Oliver Nutter
On Sun, Aug 2, 2009 at 3:12 PM, Charles Oliver Nutter wrote: > Ok, finally circled back around to testing things again. With Attila's > build, I'm still getting crashes, but more seems to work. > > I've attached the dump from the crash. To reproduce: > > 1. grab and unpack a JRuby nightly from htt