Develop

Ticket #560 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

OnAirspaceListItemPaint(Canvas&, RECT, unsigned int) assertion

Reported by: apf Owned by: jwharington
Priority: normal Milestone: XCSoar 6.0.x
Component: Airspace Version: 6.0b
Keywords: Cc:

Description

The main reason for this assertion is probably that I played around with airspace files in the config dialog before starting an igc replay.

See attachment for some info captured with gdb.

Attachments

gdb-output.txt (6.4 KB) - added by apf 2 years ago.
apf-bug560.png (64.1 KB) - added by apf 2 years ago.

Change History

Changed 2 years ago by apf

comment:1 Changed 2 years ago by jwharington

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

probably needs in code to have the airspace warnings cleared on editing of the airspace files.

comment:2 Changed 2 years ago by max

  • Status changed from assigned to closed
  • Resolution set to fixed

Fixed in f72fab8c2e5a9ef7d480a97bda0b73f97736081e

comment:3 Changed 2 years ago by apf

  • Priority changed from lowest to normal
  • Status changed from closed to reopened
  • Version set to 6.0b
  • Resolution fixed deleted

This one just happened again - this time with no changes to the airspace settings before starting of replay. It occurred just after release during a winch launch. See apf-bug560.png for display state at the moment of the assertion.
[[]]
It seems to be reproducible on my system by starting playback of the igc file attached to bug #581 (empty task) with "rate 5x".

Last edited 2 years ago by apf (previous) (diff)

Changed 2 years ago by apf

comment:4 Changed 2 years ago by apf

xcsoar: src/Dialogs/dlgAirspaceWarnings.cpp:210: void OnAirspaceListItemPaint(Canvas&, RECT, unsigned int):
       Assertion `i == 0' failed.

I missed that the assertion is slightly different this time. Except for this I did not find any significant difference in the backtrace.

comment:5 Changed 2 years ago by jwharington

This is due to an inappropriate assertion, fixed in 90dbafc1c8ee7a115bc543ec3be6d1458a6f0936

comment:6 Changed 2 years ago by jwharington

  • Status changed from reopened to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.