Two bugs were identified and fixed. First, a loop over altitudes could be entered in a way which would never terminate; it's not actually clear why this was not always happening. Second, a variable was being allocated too little memory by one (lapseInit_), resulting in memory corruption. The debugger compile flags used when -DCMAKE_BUILD_TYPE=Debug is selected have also been pared down (removing -gdwarf-2 and gstrict-dwarf) so that more advanced debugging can be performed.
Two bugs were identified and fixed. First, a loop over altitudes could be entered in a way which would never terminate; it's not actually clear why this was not always happening. Second, a variable was being allocated too little memory by one (lapseInit_), resulting in memory corruption. The debugger compile flags used when -DCMAKE_BUILD_TYPE=Debug is selected have also been pared down (removing -gdwarf-2 and gstrict-dwarf) so that more advanced debugging can be performed.