Ticket #1529 (new defect)

Opened 7 months ago

Last modified 3 months ago

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

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

Description

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 7 months ago by max

How to reproduce? Which flight?

comment:2 Changed 7 months ago by max

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

comment:3 Changed 7 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 3 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 3 months ago by apf (previous) (diff)
Note: See TracTickets for help on using tickets.