[vmkit-commits] About j3-64bit crush

Minas Abrahamyan minas.subs at gmail.com
Mon Jul 19 17:03:14 PDT 2010


Thanks for explanation!
-Minas

On Tue, Jul 20, 2010 at 4:24 AM, Allan Tong <actong88 at gmail.com> wrote:
> On Mon, Jul 19, 2010 at 1:15 PM, Minas Abrahamyan <minas.subs at gmail.com> wrote:
>> Thank you very much! You're like a magician, how did you know?
>
> I used a debugger to trace the execution of getCallingClassLevel and
> found that the stack frame for JNI_OnLoad in libjavanio.so had a NULL
> as the frame pointer to the caller's frame, which obviously couldn't
> be correct.  Inspecting the disassembly of JNI_OnLoad showed it was
> missing the frame pointer setup prologue.  Vmkit's StackWalker needs
> the frame pointer in order to walk up the stack, so it couldn't get
> past JNI_OnLoad and thus never found the calling Java method
> (MethodType == 1).
>
>> I don't know what is right way to transfer classpath build system that
>>  "no-omit" option, but what I did was
>> change in ./configure script.
>
> Not sure what the right way is either.  I added the flag to the
> environment variables CFLAGS and CXXFLAGS.
>
>  - Allan




More information about the vmkit-commits mailing list