Segmentation Fault, address not mapped

Background of system

  • preCICE v2.5.1
  • Operating system or platform: Ubuntu 22.04
  • Installation method :CMake
  • Boost compiler
when kicking off dust-precice coupled run:
   Iteration ▶  1.0
[] *** Process received signal ***
[] Signal: Segmentation fault (11)
[] Signal code: Address not mapped (1)
[] Failing at address: 0x4f0
[] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7fb1f5def520]
[] [ 1] /home/aeschu3265/.local/lib/python3.10/site-packages/cyprecice.cpython-310-x86_64-linux-gnu.so(+0x293b8)[0x7fb14ff7b3b8]
[] [ 2] python(_PyEval_EvalFrameDefault+0x8ac)[0x562d2057b45c]
[] [ 3] python(_PyFunction_Vectorcall+0x7c)[0x562d205929fc]
[] [ 4] python(_PyEval_EvalFrameDefault+0x8ac)[0x562d2057b45c]
[] [ 5] python(_PyFunction_Vectorcall+0x7c)[0x562d205929fc]
[] [ 6] python(_PyEval_EvalFrameDefault+0x6bd)[0x562d2057b26d]
[] [ 7] python(+0x13f9c6)[0x562d205779c6]
[] [ 8] python(PyEval_EvalCode+0x86)[0x562d2066d256]
[] [ 9] python(+0x260108)[0x562d20698108]
[] [10] python(+0x2599cb)[0x562d206919cb]
[] [11] python(+0x25fe55)[0x562d20697e55]
[] [12] python(_PyRun_SimpleFileObject+0x1a8)[0x562d20697338]
[] [13] python(_PyRun_AnyFileObject+0x43)[0x562d20696f83]
[] [14] python(Py_RunMain+0x2be)[0x562d20689a5e]
[] [15] python(Py_BytesMain+0x2d)[0x562d2066002d]
[] [16] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7fb1f5dd6d90]
[] [17] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7fb1f5dd6e40]
[] [18] python(_start+0x25)[0x562d2065ff25]
[] *** End of error message ***
ExtSocketHandler: recv()=0 (expected 1)
Segmentation fault

No log files produced.

I have seen a solution for v2.5.0 that says run pip install “cython<3”, but that has not resolved the issue for me.

Any help is much appreciated!

Hi @cschultz3265,

I am afraid I have too little context to help. What is dust-precice? Was it ever working? If yes, what did you change?

Which version of the python bindings are you using?

Any more details could help.

Hi Makis,

Dust is the aerodynamics solver being used in my coupled simulation. It was working on a Ubuntu 20.04 machine with Dust version 0.8.0 and Precice v2.5.0 and Python 3.8 and 2.7.

This version is on Ubuntu 22.04, Precice v2.5.1 ( have also tried v2.5.0 and v3.0.0 ), and Dust 8.2.0. Python 3.10 and 2.7 are what is installed currently.

Of note, I am using “-dev” installs for python.

Those are the only changes I can think of.

Hopefully this is more helpful!

Thanks! And how did you install preCICE?

Are other preCICE tutorials working?

Definitely do not use Python 2.

I am not running it with python2. I just was letting you know since you asked which python bindings were on the machine.

install sequence:
"
sudo wget https://github.com/precice/precice/releases/download/v2.5.1/libprecice2_2.5.1_jammy.deb
sudo apt install ./libprecice2_2.5.1_jammy.deb
"
I have not tried other preCICE tutorials.