Develop

Ticket #1529 (closed defect: fixed)

Opened 19 months ago

Last modified 9 months ago

Assertion "(b <= xmax) && (b >= xmin)" during replay of igc file

Reported by: apf Owned by:
Priority: high Milestone: XCSoar 6.4
Component: Task Version: 6.3
Keywords: Cc:

Description (last modified by apf) (diff)

Non reproduceable assertion during igc replay of flight

assertion "(b <= xmax) && (b >= xmin)" failed: file "src/Engine/Util/ZeroFinder.cpp", line 248, function "find_zero_actual"

Resolved backtrace:

__assert2
_ZN10ZeroFinder16find_zero_actualE5fixed
_ZN10ZeroFinder9find_zeroE5fixed
_ZN18TaskSolveTravelled6searchE5fixed
_ZNK11OrderedTask20CalcCruiseEfficiencyERK13AircraftStateR5fixed
_ZN12AbstractTask10UpdateIdleERK13AircraftState
_ZN11OrderedTask10UpdateIdleERK13AircraftState
_ZN11TaskManager10UpdateIdleERK13AircraftState
_ZN17GlideComputerTask11ProcessIdleEb
_ZN13GlideComputer11ProcessIdleEb
_ZN17CalculationThread4TickEv
_ZN12WorkerThread3RunEv
_ZN6Thread10ThreadProcEPv

Change History

comment:1 Changed 19 months ago by max

How to reproduce? Which flight?

comment:2 Changed 19 months ago by max

Oh, wait you said non reproducible. It's too late for reading bug reports!

comment:3 Changed 19 months ago by apf

The only additional info I can provide is that it occurred after I demonstrated xcsoar to a colleague in SIM mode (probably manually adjusting things like height and speed) and then started the igc replay of a flight I have replayed many times without problems. The reason is probably the start of replay in an "unclean" state but I have not been able to reproduce yet.

comment:4 Changed 15 months ago by apf

Another one, current master (with my test patches, one of them could be problematic):
assertion "b >= xmin" failed: file "./src/Engine/Util/ZeroFinder.cpp", line 249, function "find_zero_actual"

__assert2
_ZN10ZeroFinder16find_zero_actualE5fixed
_ZN10ZeroFinder9find_zeroE5fixed
_ZN18TaskSolveTravelled6searchE5fixed
_ZNK11OrderedTask15CalcEffectiveMCERK13AircraftStateRK10GlidePolarR5fixed
_ZN12AbstractTask10UpdateIdleERK13AircraftStateRK10GlidePolar
_ZN11OrderedTask10UpdateIdleERK13AircraftStateRK10GlidePolar
_ZN11TaskManager10UpdateIdleERK13AircraftState
_ZN17GlideComputerTask11ProcessIdleERK8MoreDataR11DerivedInfoRK16ComputerSettingsb
_ZN13GlideComputer11ProcessIdleEb
_ZN17CalculationThread4TickEv
_ZN12WorkerThread3RunEv
_ZN6Thread10ThreadProcEPv
Last edited 15 months ago by apf (previous) (diff)

comment:5 Changed 12 months ago by Turbo

  • Owner set to apf
  • Status changed from new to assigned

comment:6 Changed 12 months ago by apf

See my EMC_CE_calculations branch for a description of a possible reason and a dirty workaround.

comment:7 Changed 12 months ago by apf

  • Owner apf deleted

comment:8 Changed 9 months ago by Turbo

  • Milestone changed from XCSoar 6.3 to XCSoar 6.4

comment:9 Changed 9 months ago by apf

  • Status changed from assigned to closed
  • Resolution set to fixed
  • Description modified (diff)

Probably fixed as a result of 231307f167fce7ffea3ca877bd482d37e80ba161

Note: See TracTickets for help on using tickets.