Segmentation fault under nvidia driver on ubuntu.( problem)

After generating an UNIX Makefile out of a CMake project I get the following error message when I try to debug the application on ubuntu:

In ?? () (/lib/x86_64-linux-gnu/
477 pthread_create.c: No such file or directory.
#12 0x00007ffff7ad6609 in start_thread (arg=<optimized out>) at pthread_create.c:477
Program terminated with signal SIGSEGV, Segmentation fault.
Debugger finished with status 0

This only occurs with the nvidia-driver (tried 470/-60/-50). Everything works fine with the nouveau display driver. The VS Solution works just fine on Windows (if this information matters). I am new to CMake. Anyone got an idea what I am missing here? Appreciate you comments. In case you need more information just let me know.

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum