org.ibex.nestedvm.Runtime$ReadFaultException: fault at: 0x0 at 0x6d0dc: ??:0 In your example, 0x0 is the memory location being addressed by your mips program and 0x6d0dc is the instruction pointer of the mips program at the time. Once you've recompiled your C code with -g -O0 and you run the code using the nestedvm interpreter, you can retrieve the crashing line of C code by: mips-unknown-elf-addr2line.exe -e your_program.mips 0x6d0dc Unfortunately, you won't get a C stack backtrace.

Google Groups | Unknown author | 10 years ago
  1. 0

    produced .class Runtime Error

    Google Groups | 10 years ago | Unknown author
    org.ibex.nestedvm.Runtime$ReadFaultException: fault at: 0x0 at 0x6d0dc: ??:0 In your example, 0x0 is the memory location being addressed by your mips program and 0x6d0dc is the instruction pointer of the mips program at the time. Once you've recompiled your C code with -g -O0 and you run the code using the nestedvm interpreter, you can retrieve the crashing line of C code by: mips-unknown-elf-addr2line.exe -e your_program.mips 0x6d0dc Unfortunately, you won't get a C stack backtrace.

    Root Cause Analysis

    1. org.ibex.nestedvm.Runtime$ReadFaultException

      fault at: 0x0 at 0x6d0dc: ??:0 In your example, 0x0 is the memory location being addressed by your mips program and 0x6d0dc is the instruction pointer of the mips program at the time. Once you've recompiled your C code with -g -O0 and you run the code using the nestedvm interpreter, you can retrieve the crashing line of C code by: mips-unknown-elf-addr2line.exe -e your_program.mips 0x6d0dc Unfortunately, you won't get a C stack backtrace.

      at org.ibex.nestedvm.Runtime.unsafeMemRead()
    2. org.ibex.nestedvm
      Interpreter.main
      1. org.ibex.nestedvm.Runtime.unsafeMemRead(Runtime.java:413)
      2. org.ibex.nestedvm.Runtime.memRead(Runtime.java:401)
      3. org.ibex.nestedvm.Interpreter.runSome(Interpreter.java:502)
      4. org.ibex.nestedvm.Interpreter._execute(Interpreter.java:51)
      5. org.ibex.nestedvm.Runtime.__execute(Runtime.java:506)
      6. org.ibex.nestedvm.Runtime.execute(Runtime.java:523)
      7. org.ibex.nestedvm.Runtime.run(Runtime.java:545)
      8. org.ibex.nestedvm.Runtime.run(Runtime.java:538)
      9. org.ibex.nestedvm.Interpreter.main(Interpreter.java:783)
      9 frames