read unmapped address when reload SPEC CPU2017 elfie files
- Dominant language
- C++
- Stars
- 44
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to load the elfies files with gem5 released on https://looppoint.github.io/hpca2023/
The bwaves elfies could all run with Gem5, but for wrf elfies, only the first region can successfully finish running. The others have unmapped address problems.
This is the error output when I run the wrf region 2 elfie.
src/arch/x86/faults.cc:169: panic: Tried to read unmapped address 0x8.
PC: (0x15098e0b40d6=>0x15098e0b40da).(0=>1), Instr: MOV_R_M : ld rdi, DS:[rax + 0x8]
Memory Usage: 35694380 KBytes
Program aborted at tick 55477801332
I have used update vm.max_map_count in /etc/sysctl.conf and then sudo sysctl -p I tried both values of 2097152 and 33554432
I have tried to increase the max stack size in gem5, but it still does not work.
vi gem5/src/sim/syscall_emul.hh
line 2055,2098 8 * 1024 * 1024 to 64 * 1024 * 1024
vi gem5/src/arch/x86/process.cc
line 115 8 * 1024 * 1024 to 64 * 1024 * 1024
Any suggestions? Thanks a lot!
Contributor guide
Assessment
This issue has not been assessed yet.