# Segmentation fault in jupyter notebook but not REPL?

**URL:** <https://discourse.julialang.org/t/segmentation-fault-in-jupyter-notebook-but-not-repl/92543>\
**Category:** General Usage\
**Created:** [January 5, 2023, 8:07am UTC](https://discourse.julialang.org/t/segmentation-fault-in-jupyter-notebook-but-not-repl/92543 "2023-01-05T08:07:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cjproud](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cjproud/32/38494_2.png) [@cjproud](https://discourse.julialang.org/u/cjproud)\
**Post date:** [January 5, 2023, 8:07am UTC](https://discourse.julialang.org/t/segmentation-fault-in-jupyter-notebook-but-not-repl/92543/1 "2023-01-05T08:07:01Z")

</div>

Hi everyone,

I’ve run into an extremely bizarre issue. When running Julia code, which calls Fortran code via CCall, I get a Stack Overflow Error when a particular subroutine is called in Fortran. This however, only happens when running it from a Jupyter notebook.

What is more puzzling is that when run from a REPL using:

```julia
using NBInclude
@nbinclude("test.ipynb")

```

it works without issue. Has anyone run into this before?
