-
Notifications
You must be signed in to change notification settings - Fork 911
Description
Describe the bug
I frequently get a segfault when running a simple problem with periodic boundaries (inviscid vortex on square mesh). It only happens with some meshes (e.g. the attached TriAdapt1.su2, but not TriInit.su2). CPhysicalGeometry::MatchPeriodic() seems to give the correct number of matches, but then the segfault occurs in CGeometry::PreprocessPeriodicComms():
==99060== Invalid write of size 8
==99060== at 0xD26DC8: CGeometry::PreprocessPeriodicComms(CGeometry*, CConfig*) (CGeometry.cpp:973)
...
(and in 3 other locations). It only occurs when running in parallel.
I've attached the full valgrind outputs (serial and parallel), as well as the meshes and config I used.
Bug report checklist
- Consulting the build instructions (https://su2code.github.io/docs_v7/Build-SU2-Linux-MacOS/).
- Looking for similar problems on GitHub or CFD-Online (https://www.cfd-online.com/Forums/su2/).
- Updating to the newest version of SU2 (either develop, master, or the pre-built executables https://su2code.github.io/download.html).
Desktop (please complete the following information):
- OS: Linux (Fedora 42 and Ubuntu 22.04)
- C++ compiler and version: GCC 15.1.1 and 11.4.0
- MPI implementation and version: MPICH 4.2.2 and 4.0
- SU2 Version: 8.2.0 (develop)