Skip to content

Segmentation fault in runner_do_recv_part

Hey, when running EAGLE_low_z/EAGLE_6 with the following command: mpirun -n 2 ../../swift_mpi -e --eagle --cosmology --threads=4 eagle_6.yml I get very quickly a segmentation fault (before the first step according to the output in the terminal). I have compiled swift with --disable-hand-vec --disable-optimization --with-subgrid=EAGLE (I was also getting a segmentation fault with the optimization).

When running inside GDB, I am not able to catch the error. With Valgrind, I obtained the following output:

==16473== Process terminating with default action of signal 11 (SIGSEGV)
==16473==  General Protection Fault
==16473==    at 0x59AADB: runner_do_recv_part (in /media/data/Linux/data/swift_logger/examples/swift_mpi)
==16473==    by 0x59AC5F: runner_do_recv_part (in /media/data/Linux/data/swift_logger/examples/swift_mpi)
==16473==    by 0x59AC5F: runner_do_recv_part (in /media/data/Linux/data/swift_logger/examples/swift_mpi)
==16473==    by 0x528FDF: runner_main (in /media/data/Linux/data/swift_logger/examples/swift_mpi)
==16473==    by 0x563F6DA: start_thread (pthread_create.c:463)
==16473==    by 0x7A66A3E: clone (clone.S:95)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information