Develop
Ticket #1390 (closed defect: fixed)
SEGV during igc replay (Android)
| Reported by: | apf | Owned by: | max |
|---|---|---|---|
| Priority: | highest | Milestone: | XCSoar 6.x @ Android |
| Component: | Other | Version: | 6.1 |
| Keywords: | Cc: |
Description
SEGV during igc replay in SIM mode on Android. Shortly after takeoff without any user interaction.
6.1.4 (nearly vanilla non-debug build). Resolved symbols at top of call stack:
_ZN12AndroidTimer3runEv _ZN9TopWindow10event_loopEv ...
Could not reproduce, probably a race.
Attachments
Change History
comment:1 Changed 22 months ago by apf
- Priority changed from high to highest
Occured again, this time during igc replay on master branch build
_ZN12AndroidTimer3runEv _ZN9EventLoop8dispatchERK5Event _ZN9TopWindow10event_loopEv Java_org_xcsoar_NativeView_runNative
Never noticed this before, must be a recent regression.
comment:2 Changed 22 months ago by max
- Owner set to max
- Status changed from new to accepted
Race condition between ~AndroidTimer?() and ~Bridge(), when a timer gets deleted:
- ~AndroidTimer?() purges all pending events of the timer from the queue
- Java callback is invoked, appends new event to the queue
- ~Bridge() disables Java callback
- event queue launches the AndroidTimer? that just got deleted
Note: See
TracTickets for help on using
tickets.
