[aarch64-port-dev ] assertion failure bcp doesn't belong to this method
Andrew Haley
aph at redhat.com
Mon Feb 17 01:57:25 PST 2014
On 02/16/2014 05:02 PM, D.Sturm wrote:
> Hi,
> this is a bit out of scope here, but I hope my problem may have turned up
> before and someone has some good debugging tips or ideas what could be the
> problem. I am working on the Aarch64 port for graal (
Oh, that is *very* good to know. Thank you.
> http://openjdk.java.net/projects/graal/) which means I had to merge the
> Aarch64 HotSpot port with Graal's Hotspot code.
>
> The simulator and template interpreter work fine for the longest time, but
> then trigger the following assertion: assert(is_native() && bcp ==
> code_base() || contains(bcp) || is_error_reported()) failed: bcp doesn't
> belong to this method: bcp: 0x00007ffff6e21510, method:
> java.io.DataInputStream.readUTF(Ljava/io/DataInput;)Ljava/lang/String;
>
> This happens before the graal compiler is completely setup so it must be
> some problem from the merge in the Hotspot code - I just have no idea how
> to figure out where it goes wrong.
We have a ton of debug aids in the simulator.
"simpf" gets you the current Java frame. "nextpf" the next one, etc.
So you'll be able to see where it failed.
"simcputrace" gets you the last 500 instructions.
It's all explained in README.aarch64.
Andrew.
More information about the aarch64-port-dev
mailing list