Hi everyone,
I am a new to Geant4 and CMake and ran into the following problem that only occurs when I try to run exampleB1 with PyCharm’s CLion IDE:
I can build the example with CLion without any problems. Running the built example from the terminal also works without any problems:
./cmake-build-debug/exampleB1
However, running it with CLion fails with the following error:
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
Debugging it shows to following message from GDB:
Thread 1 "exampleB1" received signal SIGSEGV, Segmentation fault.
0x00007fdf56d1a487 in G4ExceptionHandler::DumpTrackInfo() () from /opt/geant4.10.06.p01-build/BuildProducts/lib/libG4run.so
This is probably I minor misconfiguration in CLion, but I cannot find it. Any help is very much appreciated.
I am using Ubuntu 18.04, GNU 7.5.0, and Giant4 10.06.p01.
Stay safe and thank you,
Christoph