Hello,

This looks like there is an infinite recursion happening in the cache
model. It looks like there's a bug. If you didn't modify the cache code at
all, then it's a bug in gem5.

To track down this bug, I would start by enabling debug flags. I think the
"Cache" and "CacheRepl" flags would likely be useful. If you're able to
track it down, we'd love it if you contributed a fix!

Cheers,
Jason

On Thu, Feb 16, 2017 at 4:37 AM Muhammed Emin Öztürk <
[email protected]> wrote:

> Hi Friends
>
>        I am able to run gem5 SE mode with my benchmark without entering
> any cache configiuration.
> However after I enter cache configuration ( ./build/ARM/gem5.opt
> configs/example/se.py -c jacobiSerialStatic -o 16 --caches --l2cache
> --cpu-type=arm_detailed )
> I got segmentation error. Can you help me to understand the reason of
> these errors ?
>
> Thank you so much for your help in advance.
>
> emin@emin-S300CA:~/gem5$ ./build/ARM/gem5.opt configs/example/se.py -c
> jacobiSerialStatic -o 16 --caches --l2cache --cpu-type=arm_detailed
> gem5 Simulator System.  http://gem5.org
> gem5 is copyrighted software; use the --copyright option for details.
>
> gem5 compiled Feb 16 2017 03:28:28
> gem5 started Feb 16 2017 03:54:39
> gem5 executing on emin-S300CA, pid 4014
> command line: ./build/ARM/gem5.opt configs/example/se.py -c
> jacobiSerialStatic -o 16 --caches --l2cache --cpu-type=arm_detailed
>
> Global frequency set at 1000000000000 ticks per second
> warn: DRAM device capacity (8192 Mbytes) does not match the address range
> assigned (512 Mbytes)
> 0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
> warn: ClockedObject: More than one power state change request encountered
> within the same simulation tick
> gem5 has encountered a segmentation fault!
>
> --- BEGIN LIBC BACKTRACE ---
> ./build/ARM/gem5.opt(_Z15print_backtracev+0x28)[0x911ef8]
> ./build/ARM/gem5.opt[0x9331fd]
> /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f95bdb70390]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x2)[0x103d952]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x1a)[0x103d96a]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x1a)[0x103d96a]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x1a)[0x103d96a]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x1a)[0x103d96a]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x1a)[0x103d96a]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x1a)[0x103d96a]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x1a)[0x103d96a]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x1a)[0x103d96a]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x1a)[0x103d96a]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x1a)[0x103d96a]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x1a)[0x103d96a]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x1a)[0x103d96a]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x1a)[0x103d96a]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x1a)[0x103d96a]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x1a)[0x103d96a]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x1a)[0x103d96a]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x1a)[0x103d96a]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x1a)[0x103d96a]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x1a)[0x103d96a]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x1a)[0x103d96a]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x1a)[0x103d96a]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x1a)[0x103d96a]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x1a)[0x103d96a]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x1a)[0x103d96a]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x1a)[0x103d96a]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x1a)[0x103d96a]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x1a)[0x103d96a]
> ./build/ARM/gem5.opt(_ZNK5Cache11modifyblockEmb+0x1a)[0x103d96a]
> --- END LIBC BACKTRACE ---
> Segmentation fault (core dumped)
> emin@emin-S300CA:~/gem5$
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to