Dear Nayana,

Thank you for your email.

Could you please go to the folder created by run_job, and insert the following 
line into start.simics file:
WAITFORSIGCONT=yes

After that, invoke the trace simulator manually in a terminal, it will output 
the id of the process so you can attach gdb to it and type “c” in the gdb 
commandline.

Please feel free to contact us if GDB’s output is not illuminating.

Best regards,
Dmitrii


On 12 Dec 2017, at 19:59, Nayana Prasad Nagendra 
<[email protected]<mailto:[email protected]>> wrote:

Hi all,
    I am getting segmentation fault while executing run_job command on Flexus. 
I am using Simics-3.0.28 with Solaris-10 OS, Boost 1.33.1, Flexus 4.1, Ubuntu 
12.04.

    I could successfully build Flexus and run prepare-test-app (following the 
instructions in Flexus Getting Started guide). However, when I run the run_job 
command ("run_job -postprocess "$SCRIPT_ROOT/postprocess_ckptgen.sh flexpoint 
28 test_app" -cfg trace -run flexpoint -local -ckpt-gen UP.Trace 
flexus_test_app_v9"), I am getting segmentation fault. I have attached the 
complete output below.

   I also read through some messages in the mail list and followed steps 
mentioned in 
"https://www.mail-archive.com/[email protected]/msg00469.html"; to make 
sure I have the same version of libstdc++ in Simics path. Even after those 
changes, I am still having the same issue.

   Any help in this regard is much appreciated.

Thanks and Regards,
Nayana

run_job output:


WARNING: Simics has only been tested under Linux version 2
Image memory limited to 1 GB
Opening debug output file: debug.out
Opening debug output file: stats.out
Opening debug output file: trace.out
Successfully parsed debug configurations from debug.cfg
Initializing Flexus::ConfigurationManager...done
Initializing Flexus::ComponentManager...done
Entered init_local

Flexus (C) 2006-2010 The SimFlex Project
Eric Chung, Michael Ferdman, Brian Gold, Nikos Hardavellas, Jangwook Kim,
Ippokratis Pandis, Minglong Shao, Jared Smolens, Stephen Somogyi,
Evangelos Vlachos, Thomas Wenisch, Roland Wunderlich
Anastassia Ailamaki, Babak Falsafi and James C. Hoe.

Flexus Simics simulator - Built as UP.Trace v1.0

1 <startup.cpp:121> {0}- Initializing Flexus.
Initializing Flexus::ComponentManager...done
2 <ComponentManager.cpp:79> {0}- Instantiating system with a width factor of: 1
Initializing Flexus::ConfigurationManager...done
3 <wiring.cpp:82> {0}-  initializing Parameters...
4 <flexus.cpp:380> {0}- Set stat interval to : 10000000
5 <flexus.cpp:400> {0}- Set profile interval to : 10000000
6 <flexus.cpp:405> {0}- Set timestamp interval to : 1000000
Warning: The 'flexus-UP.Trace-v9-iface-gcc' module was supposed to register the 
'DecoupledFeeder' class, but did not
WARNING: There is no parameter named "-L1d:bsize"
WARNING: There is no parameter named "-L1d:level"
WARNING: There is no parameter named "-L1d:assoc"
WARNING: There is no parameter named "-L1d:block_scout"
WARNING: There is no parameter named "-L1d:clean_evict"
WARNING: There is no parameter named "-L1d:erb_size"
WARNING: There is no parameter named "-L1d:gzip_flexpoints"
WARNING: There is no parameter named "-L1d:mt_width"
WARNING: There is no parameter named "-L1d:notify_reads"
WARNING: There is no parameter named "-L1d:notify_writes"
WARNING: There is no parameter named "-L1d:protocol"
WARNING: There is no parameter named "-L1d:rsize"
WARNING: There is no parameter named "-L1d:rt_assoc"
WARNING: There is no parameter named "-L1d:rt_repl"
WARNING: There is no parameter named "-L1d:rt_size"
WARNING: There is no parameter named "-L1d:size"
WARNING: There is no parameter named "-L1d:skew_block_set"
WARNING: There is no parameter named "-L1d:std_array"
WARNING: There is no parameter named "-L1d:text_flexpoints"
WARNING: There is no parameter named "-L1d:trace_tracker_on"
WARNING: There is no parameter named "-L1d:using_traces"
WARNING: There is no parameter named "-L1d:downgrade_lru"
WARNING: There is no parameter named "-L1d:snoop_lru"
WARNING: There is no parameter named "-L2:bsize"
WARNING: There is no parameter named "-L2:level"
WARNING: There is no parameter named "-L2:CMPWidth"
WARNING: There is no parameter named "-L2:always_multicast"
WARNING: There is no parameter named "-L2:assoc"
WARNING: There is no parameter named "-L2:clean_evict"
WARNING: There is no parameter named "-L2:coherence_unit"
WARNING: There is no parameter named "-L2:directory_type"
WARNING: There is no parameter named "-L2:erb_size"
WARNING: There is no parameter named "-L2:protocol"
WARNING: There is no parameter named "-L2:rsize"
WARNING: There is no parameter named "-L2:rt_assoc"
WARNING: There is no parameter named "-L2:rt_size"
WARNING: There is no parameter named "-L2:seperate_id"
WARNING: There is no parameter named "-L2:size"
WARNING: There is no parameter named "-L2:std_array"
WARNING: There is no parameter named "-L2:trace_tracker_on"
WARNING: There is no parameter named "-L2:repl"
WARNING: There is no parameter named "-magic-break:ckpt_cycle"
WARNING: There is no parameter named "-magic-break:ckpt_cycle_name"
WARNING: There is no parameter named "-magic-break:ckpt_iter"
WARNING: There is no parameter named "-magic-break:ckpt_trans"
WARNING: There is no parameter named "-magic-break:end_iter"
WARNING: There is no parameter named "-magic-break:end_trans"
WARNING: There is no parameter named "-magic-break:first_trans"
WARNING: There is no parameter named "-magic-break:iter"
WARNING: There is no parameter named "-magic-break:min_cycle"
WARNING: There is no parameter named "-magic-break:stats_trans"
WARNING: There is no parameter named "-magic-break:stop_cycle"
WARNING: There is no parameter named "-magic-break:stop_on_magic"
WARNING: There is no parameter named "-magic-break:trans"
WARNING: There is no parameter named "-feeder:CMPwidth"
WARNING: There is no parameter named "-feeder:decouple_addr_spaces"
WARNING: There is no parameter named "-feeder:housekeeping_period"
WARNING: There is no parameter named "-feeder:ifetch"
WARNING: There is no parameter named "-feeder:simics_quantum"
WARNING: There is no parameter named "-feeder:stick"
WARNING: There is no parameter named "-feeder:whitebox_debug"
WARNING: There is no parameter named "-feeder:whitebox_debug_period"
WARNING: There is no parameter named "-L1i:assoc"
WARNING: There is no parameter named "-L1i:block_scout"
WARNING: There is no parameter named "-L1i:bsize"
WARNING: There is no parameter named "-L1i:clean_evict"
WARNING: There is no parameter named "-L1i:erb_size"
WARNING: There is no parameter named "-L1i:gzip_flexpoints"
WARNING: There is no parameter named "-L1i:level"
WARNING: There is no parameter named "-L1i:mt_width"
WARNING: There is no parameter named "-L1i:notify_reads"
WARNING: There is no parameter named "-L1i:notify_writes"
WARNING: There is no parameter named "-L1i:protocol"
WARNING: There is no parameter named "-L1i:rsize"
WARNING: There is no parameter named "-L1i:rt_assoc"
WARNING: There is no parameter named "-L1i:rt_repl"
WARNING: There is no parameter named "-L1i:rt_size"
WARNING: There is no parameter named "-L1i:size"
WARNING: There is no parameter named "-L1i:skew_block_set"
WARNING: There is no parameter named "-L1i:std_array"
WARNING: There is no parameter named "-L1i:text_flexpoints"
WARNING: There is no parameter named "-L1i:trace_tracker_on"
WARNING: There is no parameter named "-L1i:using_traces"
WARNING: There is no parameter named "-L1i:downgrade_lru"
WARNING: There is no parameter named "-L1i:snoop_lru"
WARNING: There is no parameter named "-bpwarm:cores"
[cpu0 info] Note that on this cpu, instruction-fetch-trace is implemented using 
instruction-cache-access-trace with a suitable cache line size.
7 <ComponentManager.cpp:94> {0}- Initalizing components...
7 <ComponentManager.cpp:94> {0}- Initalizing components...
Segmentation fault (SIGSEGV) in main thread
The simulation state has been corrupted. Simulation cannot continue.
Please restart Simics.
ERROR: Invalid return code from Simics: 1

Reply via email to