# Why am I getting a segmentation fault here (M1 Mac)?

**URL:** https://fortran-lang.discourse.group/t/why-am-i-getting-a-segmentation-fault-here-m1-mac/2437
**Category:** Help
**Created:** [December 22, 2021, 3:04am UTC](https://fortran-lang.discourse.group/t/why-am-i-getting-a-segmentation-fault-here-m1-mac/2437 "2021-12-22T03:04:06Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![nicholaswogan](https://avatars.discourse-cdn.com/v4/letter/n/f1d935/32.png) [@nicholaswogan](https://fortran-lang.discourse.group/u/nicholaswogan)
#### Post date: [December 22, 2021, 4:02am UTC](https://fortran-lang.discourse.group/t/why-am-i-getting-a-segmentation-fault-here-m1-mac/2437/3 "2021-12-22T04:02:27Z")

</div>

@urbanjost, compiling with `gfortran mylib.f90 -O3 -fbacktrace -g` still gives a segmentation fault.

---

_[View the full topic](https://fortran-lang.discourse.group/t/why-am-i-getting-a-segmentation-fault-here-m1-mac/2437)._
