Skip to content

Common Issues

Cory edited this page Jan 26, 2022 · 5 revisions

These are some common issues faced by MachLine users

Segmentation fault during initialization

You may see an error like

            /
           /
          /
         /          ____
        /          /   /
       /          /   /
      /     MachLine (c) 2022 USU Aerolab
     / _________/___/_______________
    ( (__________________________
     \          \   \
      \          \   \
       \          \   \
        \          \___\
         \
 Loading input file: dev/half_wing_input.json                                                                            
     User has selected: 1-order doublet panels and 0-order source panels.
     Reading surface mesh in from file: dev/meshes/half_wing_right.vtk
     Surface mesh has     685 vertices and    1336 panels.
     Mesh set to mirror about xz plane.
     Locating adjacent panels...Done. Found    2020 edges.

 Initializing

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0  0x7fac60696d5a
#1  0x7fac60695ef5
#2  0x7fac6036020f
#3  0x560fadd22b5e
#4  0x560fadd24b5c
#5  0x560fadd253f3
#6  0x560fadd28193
#7  0x560fadd57bd8
#8  0x560fadd1a33e
#9  0x7fac603410b2
#10  0x560fadd1a37d
#11  0xffffffffffffffff
Segmentation fault (core dumped)

This is most likely due to all five required sections of the input file not being given or being given in the wrong order. Revisit Input File Structure and make sure the given input file is structured properly.

No outputs are written even though output files are specified

This is usually caused by the same underlying issue as the above error.

Clone this wiki locally