# Longjmp causes uninitialized stack frame

**URL:** <https://forum.cmascenter.org/t/longjmp-causes-uninitialized-stack-frame/1516>\
**Category:** Run Time Errors and Issues\
**Created:** [May 22, 2020, 8:44pm UTC](https://forum.cmascenter.org/t/longjmp-causes-uninitialized-stack-frame/1516 "2020-05-22T20:44:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![skunwar](https://avatars.discourse-cdn.com/v4/letter/s/9f8e36/32.png) [@skunwar](https://forum.cmascenter.org/u/skunwar)\
**Post date:** [May 22, 2020, 8:44pm UTC](https://forum.cmascenter.org/t/longjmp-causes-uninitialized-stack-frame/1516/1 "2020-05-22T20:44:50Z")

</div>

I got a segmentation fault followed by the error in the title (\*\*\*longjmp causes uninitialized stack frame\*\*\*: CMAQ.exe terminated) in the CMAQv5.3.1 standard output file, as shown below:

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/1X/3dc0a8d53b330d03b9a70a5f5f692d9efb73b092.png)  
 ![image](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/1X/b2be367852dbb64c2a6e8648e7ded4ae77d7a912.png)

However, there is nothing in the standard error file or the CTM\_LOG\_\* files where all input files are successfully read. I am using the bug-fix version of CCTM/src/cio/centralized\_io\_module.F at [https://github.com/USEPA/CMAQ/blob/master/DOCS/Known\_Issues/README.md#cmaqv531-i5](https://github.com/USEPA/CMAQ/blob/master/DOCS/Known_Issues/README.md#cmaqv531-i5) to compile CCTM.

Runscript, standard output/error and one LOG file are attached.[run\_cctm\_2016\_12US1\_stamp2\_12US2\_testrun\_myfix\_22may2020.csh](https://forum.cmascenter.org/uploads/short-url/sqTQHNCybS47vNsVySLvWTuHg4i.csh) (46.2 KB) [slurm-5733324\_4294967294.out.txt](https://forum.cmascenter.org/uploads/short-url/Uldur0Nsc6mzzHjqjAZSBVIn85.txt) (25.0 KB) [slurm-5733324\_4294967294.err.txt](https://forum.cmascenter.org/uploads/short-url/siSEWLLGUlmj6Duws6AnWXq9cbd.txt) (43.1 KB) [CTM\_LOG\_047.v531\_intel\_2016\_CONUS\_20140102.txt](https://forum.cmascenter.org/uploads/short-url/wV8GRUEyvdx4qrgZ7zmKOFc2ZH2.txt) (36.7 KB)
