gem5-users@gem5.org

The gem5 Users mailing list

View all threads

"gem5 has encountered a segmentation fault"

SS
Samon Shivastar
Wed, Oct 17, 2018 4:57 PM

Hello everyone,

I am trying to run different SPECCPU 2006 benchmarks on gem5 is SE mode but
for some of the benchmarks, the simulation prints the following line:

"info: Increasing stack size by one page."

a bunch of times and then aborts prematurely citing the reason:

"gem5 has encountered a segmentation fault!"

I have two questions:

  1. What does the line "info: Increasing stack size by one page." exactly
    mean?
  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
problem?

Any help would be greatly appreciated :)

Thanks
Sam

Hello everyone, I am trying to run different SPECCPU 2006 benchmarks on gem5 is SE mode but for some of the benchmarks, the simulation prints the following line: "info: Increasing stack size by one page." a bunch of times and then aborts prematurely citing the reason: "gem5 has encountered a segmentation fault!" I have two questions: 1. What does the line "info: Increasing stack size by one page." exactly mean? 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 problem? Any help would be greatly appreciated :) Thanks Sam
BS
Boris Shingarov
Wed, Oct 17, 2018 5:57 PM

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.

-----"gem5-users" <gem5-users-bounces@gem5.org> wrote: -----To: gem5-users@gem5.org
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 but for some of the benchmarks, the simulation prints the following line:

"info: Increasing stack size by one page."

a bunch of times and then aborts prematurely citing the reason:

"gem5 has encountered a segmentation fault!"

I have two questions:

  1. What does the line "info: Increasing stack size by one page." exactly mean?

  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 problem?

Any help would be greatly appreciated :)

Thanks

Sam

_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
https://urldefense.proofpoint.com/v2/url?u=http-3A__m5sim.org_cgi-2Dbin_mailman_listinfo_gem5-2Dusers&d=DwIGaQ&c=sPZ6DeHLiehUHQWKIrsNwWp3t7snrE-az24ztT0w7Jc&r=ecC5uu6ubGhPt6qQ8xWcSQh1QUJ8B1-CG4B9kRM0nd4&m=JkPYWVqhmlG-ioRzJJa5vPHTG1o2fsOzYkwyG0M3NW0&s=dNAhBioDceiDiUqo-guvPyZQKWuKoKBnvYMM8zCJ33w&e=

@gem5.org>@gmail.com>

GB
Gabe Black
Wed, Oct 17, 2018 8:01 PM

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.

Gabe

On Wed, Oct 17, 2018 at 10:57 AM Boris Shingarov <Shingarov(a)labware.com>
wrote:

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.

-----"gem5-users" <gem5-users-bounces(a)gem5.org> wrote: -----
To: gem5-users(a)gem5.org
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
but for some of the benchmarks, the simulation prints the following line:

"info: Increasing stack size by one page."

a bunch of times and then aborts prematurely citing the reason:

"gem5 has encountered a segmentation fault!"

I have two questions:

  1. What does the line "info: Increasing stack size by one page." exactly
    mean?
  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
problem?

Any help would be greatly appreciated :)

Thanks
Sam


gem5-users mailing list
gem5-users(a)gem5.org

https://urldefense.proofpoint.com/v2/url?u=http-3A__m5sim.org_cgi-2Dbin_mailman_listinfo_gem5-2Dusers&d=DwIGaQ&c=sPZ6DeHLiehUHQWKIrsNwWp3t7snrE-az24ztT0w7Jc&r=ecC5uu6ubGhPt6qQ8xWcSQh1QUJ8B1-CG4B9kRM0nd4&m=JkPYWVqhmlG-ioRzJJa5vPHTG1o2fsOzYkwyG0M3NW0&s=dNAhBioDceiDiUqo-guvPyZQKWuKoKBnvYMM8zCJ33w&e=


gem5-users mailing list
gem5-users(a)gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

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. Gabe On Wed, Oct 17, 2018 at 10:57 AM Boris Shingarov <Shingarov(a)labware.com> wrote: > 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. > > -----"gem5-users" <gem5-users-bounces(a)gem5.org> wrote: ----- > To: gem5-users(a)gem5.org > 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 > but for some of the benchmarks, the simulation prints the following line: > > "info: Increasing stack size by one page." > > a bunch of times and then aborts prematurely citing the reason: > > "gem5 has encountered a segmentation fault!" > > I have two questions: > 1. What does the line "info: Increasing stack size by one page." exactly > mean? > 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 > problem? > > Any help would be greatly appreciated :) > > Thanks > Sam > _______________________________________________ > gem5-users mailing list > gem5-users(a)gem5.org > > https://urldefense.proofpoint.com/v2/url?u=http-3A__m5sim.org_cgi-2Dbin_mailman_listinfo_gem5-2Dusers&d=DwIGaQ&c=sPZ6DeHLiehUHQWKIrsNwWp3t7snrE-az24ztT0w7Jc&r=ecC5uu6ubGhPt6qQ8xWcSQh1QUJ8B1-CG4B9kRM0nd4&m=JkPYWVqhmlG-ioRzJJa5vPHTG1o2fsOzYkwyG0M3NW0&s=dNAhBioDceiDiUqo-guvPyZQKWuKoKBnvYMM8zCJ33w&e= > _______________________________________________ > gem5-users mailing list > gem5-users(a)gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users