# Error1:Program received signal SIGSEGV: Segmentation fault - invalid memory reference

**URL:** <https://forum.cmascenter.org/t/error1-program-received-signal-sigsegv-segmentation-fault-invalid-memory-reference/2170>\
**Category:** CMAQ\
**Created:** [March 18, 2021, 8:04am UTC](https://forum.cmascenter.org/t/error1-program-received-signal-sigsegv-segmentation-fault-invalid-memory-reference/2170 "2021-03-18T08:04:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nazaniti](https://avatars.discourse-cdn.com/v4/letter/n/91b2a8/32.png) [@Nazaniti](https://forum.cmascenter.org/u/Nazaniti)\
**Post date:** [March 18, 2021, 8:04am UTC](https://forum.cmascenter.org/t/error1-program-received-signal-sigsegv-segmentation-fault-invalid-memory-reference/2170/1 "2021-03-18T08:04:37Z")

</div>

Hello,  
I have been working on a model for several months, and now when I run my model, I have the following error:  
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:  
#0 0x7f11bcb4932a  
#1 0x7f11bcb48503  
#2 0x7f11bc1c5fcf  
#3 0x55d8e7a67992  
#4 0x55d8e7a737b0  
#5 0x55d8e7a74be6  
#6 0x7f11bc1a8b96  
#7 0x55d8e7a21859  
#8 0xffffffffffffffff  
Segmentation fault (core dumped)

Here is my model :  
[https://drive.google.com/file/d/1qNnKe3G2ehMPiKI-ScqQ\_bNAco4DthRv/view?usp=sharing](https://drive.google.com/file/d/1qNnKe3G2ehMPiKI-ScqQ_bNAco4DthRv/view?usp=sharing)  
I really need help, and I appreciate your help.  
N.T

---

<div class="post-metadata">

**Author:** ![cjcoats](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@cjcoats](https://forum.cmascenter.org/u/cjcoats)\
**Post date:** [March 18, 2021, 10:57am UTC](https://forum.cmascenter.org/t/error1-program-received-signal-sigsegv-segmentation-fault-invalid-memory-reference/2170/2 "2021-03-18T10:57:48Z")

</div>

What system are you running on? (_.rar_ is not a normal Linux file-type – Windows?)  
What compiler(s) are you using?  
Have you tried to compile a trace-back/check-everythng executable and run that? That would have given a meaningful backtrace, with source files and line numbers, from which we might be able to help.

---

<div class="post-metadata">

**Author:** ![Nazaniti](https://avatars.discourse-cdn.com/v4/letter/n/91b2a8/32.png) [@Nazaniti](https://forum.cmascenter.org/u/Nazaniti)\
**Post date:** [March 18, 2021, 11:27am UTC](https://forum.cmascenter.org/t/error1-program-received-signal-sigsegv-segmentation-fault-invalid-memory-reference/2170/3 "2021-03-18T11:27:52Z")

</div>

I am running on Ubuntu 18.04, and also using gfortran as a compiler. Unfortunately, I haven’t tried to compile trace-back, and I don’t know what it is.

---

<div class="post-metadata">

**Author:** ![cjcoats](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@cjcoats](https://forum.cmascenter.org/u/cjcoats)\
**Post date:** [March 18, 2021, 12:14pm UTC](https://forum.cmascenter.org/t/error1-program-received-signal-sigsegv-segmentation-fault-invalid-memory-reference/2170/4 "2021-03-18T12:14:39Z")

</div>

Look at the compile-flags in the I/O API’s _ioapi/Makeinclude.Linux2\_x86\_64gfortdbg_
