Assertions are not triggered in .fast (only up to .opt). So most likely, gem5.fast still fails the assertion, but it does not tell it to you because assertions are disabled in .fast.

Cheers,

Arthur.

 Le 28/12/2015 09:43, Mahmood Naderan a écrit :
Hi,
If I run bbench with gem5.debug, I immediately get an error in the code however, gem5.fast doesn't fail at that point. In fact it will fail after so many ticks.

A bit strange... Any idea on that? I haven't modified the code yet.


gem5.debug

warn: DTB file specified, but no device tree support in kernel
**** REAL SIMULATION ****
warn: Existing EnergyCtrl, but no enabled DVFSHandler found.
info: Entering event queue @ 0.  Starting simulation...
warn: Device system.membus.badaddr_responder accessed by read to address 0x10009018 size=4 gem5.debug: build/ARM/cpu/simple/atomic.cc:378: virtual Fault AtomicSimpleCPU::readMem(Addr, uint8_t*, unsigned int, unsigned int): Assertion `!pkt.isError()' failed.
Program aborted at tick 30000
--- BEGIN LIBC BACKTRACE ---
build/ARM/gem5.debug(_Z15print_backtracev+0x23)[0x116b887]
build/ARM/gem5.debug(_Z12abortHandleri+0x5f)[0x1181581]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0)[0x7f378047fcb0]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35)[0x7f377efac0d5]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x17b)[0x7f377efaf83b]
/lib/x86_64-linux-gnu/libc.so.6(+0x2ed9e)[0x7f377efa4d9e]
/lib/x86_64-linux-gnu/libc.so.6(+0x2ee42)[0x7f377efa4e42]
build/ARM/gem5.debug(_ZN15AtomicSimpleCPU7readMemEmPhjj+0x449)[0x1509433]
build/ARM/gem5.debug(_ZN17SimpleExecContext7readMemEmPhjj+0x52)[0x1516e4e]
build/ARM/gem5.debug(_Z13readMemTimingI11ExecContextjESt10shared_ptrI9FaultBaseEPT_PN5Trace10InstRecordEmRT0_j+0x4d)[0x222469b]
build/ARM/gem5.debug(_Z13readMemAtomicI11ExecContextjESt10shared_ptrI9FaultBaseEPT_PN5Trace10InstRecordEmRT0_j+0x5d)[0x2224525]
build/ARM/gem5.debug(_ZNK10ArmISAInst27LOAD_IMM_AY_PN_SN_UN_WN_SZ47executeEP11ExecContextPN5Trace10InstRecordE+0x1da)[0x21846ca]
build/ARM/gem5.debug(_ZN15AtomicSimpleCPU4tickEv+0x5c8)[0x150a41a]







But gem5.fast passes that tick number. The command I use is:

build/ARM/gem5.fast configs/example/fs.py -b bbench-ics --kernel=vmlinux.smp.mouse.arm --frame-capture

build/ARM/gem5.debugconfigs/example/fs.py -b bbench-ics --kernel=vmlinux.smp.mouse.arm --frame-capture


Regards,
Mahmood




_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users


--
Arthur Perais
INRIA Bretagne Atlantique
Bâtiment 12E, Bureau E303, Campus de Beaulieu
35042 Rennes, France

_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to