# Segmentation fault when running BasicApp sample on Mac OS X

**URL:** <https://discourse.libcinder.org/t/segmentation-fault-when-running-basicapp-sample-on-mac-os-x/791>\
**Category:** Uncategorized\
**Created:** [July 18, 2017, 2:52am UTC](https://discourse.libcinder.org/t/segmentation-fault-when-running-basicapp-sample-on-mac-os-x/791 "2017-07-18T02:52:16Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Fred](https://avatars.discourse-cdn.com/v4/letter/f/db5fbb/32.png) [@Fred](https://discourse.libcinder.org/u/Fred)\
**Post date:** [March 20, 2018, 11:19pm UTC](https://discourse.libcinder.org/t/segmentation-fault-when-running-basicapp-sample-on-mac-os-x/791/4 "2018-03-20T23:19:41Z")

</div>

Hi,

I am having the exact same problem but with Ubuntu.  
This is the tutorial that I followed: [Cinder on Ubuntu](https://www.libcinder.org/docs/guides/linux-notes/ubuntu.html)  
After entering

> ./Debug/BasicApp/BasicApp

I got the error message:

> Segmentation fault (core dumped)

I also tried these fixes but didn’t work 😭

> [@Linker errors: MongoDB CXX Driver on Linux](https://discourse.libcinder.org/t/linker-errors-mongodb-cxx-driver-on-linux/504/9):
>
> Hey, this flag is there because of the precompiled boost libs that ship with Cinder – They are compiled with the old ABI ( i.e a version of gcc \< 5.1 ) and we need this flag to make them work with newer versions of gcc ( \>= 5.1 ) This has been causing some headaches especially if the user happens to have boost installed already in the system and we are currently in the process of thinking what is the best way to move forward with this. What I would try in your case and at this point is to use …

> <https://github.com/cinder/Cinder/issues/1799>
>
> Hello,
> I try to launch cinder examples but with all examples I have
> Segmentati…on fault (core dumped)
> 
> glxinfo | grep OpenGL :
> 
> \> OpenGL vendor string: NVIDIA Corporation
> \> OpenGL renderer string: GeForce GTX 960M/PCIe/SSE2
> \> OpenGL core profile version string: 4.5.0 NVIDIA 375.39
> \> OpenGL core profile shading language version string: 4.50 NVIDIA
> \> OpenGL core profile context flags: (none)
> \> OpenGL core profile profile mask: core profile
> \> OpenGL core profile extensions:
> \> OpenGL version string: 4.5.0 NVIDIA 375.39
> \> OpenGL shading language version string: 4.50 NVIDIA
> \> OpenGL context flags: (none)
> \> OpenGL profile mask: (none)
> \> OpenGL extensions:
> \> OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 375.39
> \> OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
> \> OpenGL ES profile extensions:
> 
> I followed tuto !
> I tested with clamp and gcc
> I tested with cmake-3.7.2 and older.
> 
> I am under elementary loki OS with ubuntu 16.04 !
> I tried only in ogl mode.

Any advice on fixing this? thanks in advance!

Fred

---

_[View the full topic](https://discourse.libcinder.org/t/segmentation-fault-when-running-basicapp-sample-on-mac-os-x/791)._
