The configuration:
ISA: Alpha_SE_MOESI_CMP_directory
command line: ./build/ALPHA_SE_MOESI_CMP_directory/gem5.debug
./configs/example/se.py --ruby
Error output by gdb:
****WARN: using Timing CPU since it's needed by Ruby
Global frequency set at 1000000000000 ticks per second
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
**** REAL SIMULATION ****
info: Entering event queue @ 0. Starting simulation...
info: Increasing stack size by one page.
Program received signal SIGSEGV, Segmentation fault.
0x0000000000a9cba9 in DataBlock::operator= (this=0x1a0e92d8, obj=@0x1a0e94e0)
at build/ALPHA_SE_MOESI_CMP_directory/mem/ruby/common/DataBlock.cc:95
95 memcpy(m_data, obj.m_data, RubySystem::getBlockSizeBytes());
(gdb)
2011-06-23
--Yongbing Huang
发件人: Nilay Vaish
发送时间: 2011-06-23 09:13:13
收件人: gem5 Developer List
抄送:
主题: Re: [gem5-dev] Segmentation fault:
UnderSituationPhysicalMemory(range=AddrRange("4096MB") and Ruby
On Thu, 23 Jun 2011, huangyongbing wrote:
> I run gem5 on 64 bit computer. And it runs correctly when I set the memory
> size to others but not 4096MB and 8192MB.
>
> 2011-06-23
>
>
>
> --Yongbing Huang
>
> ***************************************************
>
>
>
> 发件人: Gabe Black
> 发送时间: 2011-06-22 10:47:09
> 收件人: gem5-dev
> 抄送:
> 主题: Re: [gem5-dev] Segmentation fault: UnderSituation
> PhysicalMemory(range=AddrRange("4096MB") and Ruby
>
> Are you running on a 32 bit computer? If so, the allocation of the array
> gem5 is using for simulated memory is probably failing. You'd want to
> use a smaller memory size or move to a 64 bit computer.
> Gabe
> On 06/21/11 19:40, huangyongbing wrote:
>> Hi,
>>
>> When I set the ruby parameter, and physmem is set like
>> "PhysicalMemory(range=AddrRange("4096MB"))" or
>> "PhysicalMemory(range=AddrRange("8192MB"))" , there exists "Segmentation
>> fault". However, it is alright if I change the size of memory to numbers
>> other than multiples of 4096, just like 4095, or 8191.
>>
>> Currently, I have no idea about why this happens.
>>
>> 2011-06-22
>>
Can you post more details like -- where the segmentation fault happens
(use gdb), the ISA in use, whether you are using SE or FS mode?
--
Nilay
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev