zouqiong wrote:
>> > I am now doing two things:
>> > 1. track accesses to the three things you refer. And just the same
>> > implementation as some
>> > rt_helper_***, but the following error happens:
>> > java.exec:
>> > /root/harmony/enhanced/drlvm/trunk/vm/jitrino/src/jet/cg_ia32.cpp:
>> 1621: void
>> > Jitrino::Jet::Compiler::gen_patch(const char*, const
>> > Jitrino::Jet::CodePatchItem&): 断言"cpi.target_offset != 0"失败。
>> > abort_handler()
>> >
>>
> This error has been fixed. But I still want to know How to dump out the
> native code generated by the VM. Should the liblwdis.so
> be written by ourselves?
> 
> Now, although the above error has been resolved, I encounter an new issue.
> "SIGSEGV in VM code." This error seems some error happens in generated
> code.

Segmentation faults in compiled java code are always treated as 
NullPointerException,
no matter what address or operation caused a segmentation fault.

"SIGSEGV in VM code." means that the segmentation code occured in C++ code of 
the VM.
gdb should be of much help in this case.


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to