Re: [Gems-users] Segment Fault when calling dump-stats


Date: Thu, 21 Feb 2008 18:14:21 -0600
From: Dan Gibson <degibson@xxxxxxxx>
Subject: Re: [Gems-users] Segment Fault when calling dump-stats
At first glance, it seems to me you're incorrectly specifying the main memory size to Ruby.
512MB = 536870912 bytes

This could be the cause of your problem.

Regards,
Dan

Xuan Qi wrote:
Hi everyone,

I am a beginner of GEMS/simics. I installed solaris10 on a sarek machine
with 2 cores and 512MB memory. I am trying to make the ruby and opal work correctly now. I compiled them with MOESI_CMP_directory protocol. I use the following script to start the target machine and ruby:

read-configuration 2core.conf
cpu-switch-time 1
instruction-fetch-mode instruction-fetch-trace
istc-disable
dstc-disable
magic-break-enable
load-module ruby
load-module opal
ruby0.setparam g_NUM_PROCESSORS 2
ruby0.setparam g_MEMORY_SIZE_BYTES 524288
ruby0.init

After I run some simple program on the target machine, I call ruby0.dump-stats. But, I always get this error message:

Segmentation fault (SIGSEGV) in main thread
The simulation state has been corrupted. Simulation cannot continue.
Please restart Simics.

I am wondering what could be the problem and where I should look at to fix this problem. Is it because the inconsistency of ruby cache and simics g-cache? BTW, do ruby and opal have to be loaded together? Thanks a lot!

Best regards,
Xuan Qi

_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/"; to your search.



--
http://www.cs.wisc.edu/~gibson [esc]:wq!

[← Prev in Thread] Current Thread [Next in Thread→]