[Gems-users] simulation state has been corrupted


Date: Thu, 16 Jul 2009 14:46:44 +0530
From: Srividya Ramanathan <vidya.education@xxxxxxxxx>
Subject: [Gems-users] simulation state has been corrupted
Hi,
I'm hitting the following error while trying to simulate with ruby with ATMTP enabled.

./simics -stall -c /home/vidya/aruns_gems/gems_other/checkpoints/first-sarek.check

Checking out a license... done: academic license.

  +----------------+    Copyright 1998-2007 by Virtutech, All Rights Reserved
  |   Virtutech    |    Version: Simics 3.0.31
  |     Simics     |    Build: 1406  Host: amd64-linux
  +----------------+
    www.simics.com      "Virtutech" and "Simics" are trademarks of Virtutech AB
...

simics> instruction-fetch-mode instruction-fetch-trace
[cpu0 info] Note that on this cpu, instruction-fetch-trace is implemented using instruction-cache-access-trace with a suitable cache line size.
simics> istc-disable
Turning I-STC off and flushing old data
simics> dstc-disable
Turning D-STC off and flushing old data
simics> cpu-switch-time 1
The switch time will change to 1 cycles (for CPU-0) once all processors have synchronized.
simics> load-module ruby
successful installation of the ruby timing model.

simics> ruby0.init
Ruby Timing Model
.....
Creating system done
Ruby initialization complete

simics> c
Segmentation fault (SIGSEGV) in main thread
The simulation state has been corrupted. Simulation cannot continue.
Please restart Simics.
[cpu0] v:0x00000000010486b8 p:0x00002c486b8  lduw [%l3 + 892], %g2

What could be the reason for this problem? I have enabled the flags for ATMTP as per the instructions in http://www.cs.wisc.edu/gems/doc/gems-wiki/moin.cgi/ATMTP.
The flags I've set in rubyconfig.defaults. One thing that I did notice is that after compiling ruby, the following symlink is broken:

[vidya@cmpl7 amd64-linux]$ pwd
/home/vidya/Project/gems/simics/home/MESI_CMP_filter_directory/amd64-linux
[vidya@cmpl7 amd64-linux]$ ll lib
lrwxrwxrwx 1 vidya vidya 22 2009-07-16 13:59 lib -> ../../../x86-linux/lib << this symlink is broken

I don't know why it is pointing to x86-linux/lib. Is there any flag I have to set in the GEMS make files? I've already set HOST_TYPE := amd64-linux in /home/vidya/Project/gems/common/Makefile.common

simics itself is 64 bit installation.

Thanks for any help!

Best Regards
Vidya
[← Prev in Thread] Current Thread [Next in Thread→]