"gem5 has encountered a segmentation fault
(too old to reply)
Samon Shivastar
2018-10-18 16:20:05 UTC
Thanks Boris, Gabe for your reply.

I am using:
x86 architecture
gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
ldd (Ubuntu GLIBC 2.27-3ubuntu1) 2.27

But my benchmarks were compiled on slightly older version of gcc (around
5.2 something). Do I need to re-compile benchmarks again? If so, what
optimization should I use? (i used -O2 -static before).

Thanks in advance for your help :)

The message about increasing the stack size is normal. In SE mode the
stack grows on demand, and that's just letting you know it added a
new page.
Which ISA? What version of the compiler, and what version of libc?
On PowerPC and MIPS, syscall support in GEM5 has lagged so far behind that
GEM5 will crash on SE workloads linked to any reasonably-recent glibc.
From: Samon Shivastar
Sent by: "gem5-users"
Date: 10/17/2018 12:57PM
Subject: [gem5-users] "gem5 has encountered a segmentation fault"
Hello everyone,
I am trying to run different SPECCPU 2006 benchmarks on gem5 is SE mode
"info: Increasing stack size by one page."
"gem5 has encountered a segmentation fault!"
1. What does the line "info: Increasing stack size by one page." exactly
2. How to fix segmentation fault issue?
I've tried increasing memory size in se.py (--mem-size) but of no use.
Is there any place where I can increase the stack size to try to fix this
Any help would be greatly appreciated :)