-
Notifications
You must be signed in to change notification settings - Fork 1.3k
App freezes after downloading tiles, pausing and resuming #14740
Comments
Something odd I noticed when debugging this is that Android is calling |
One thing we are suspecting about this issue is that the status of an offline region in core is getting out of sync with the Android SDK. |
Been retesting this issue and hitting the following crash:
This crash occurs at the same time as we would hit the freeze:
The trace points to timer.start(timeout, Duration::zero(), [&] {
impl.activateOrQueueRequest(this);
}); timer.cpp:20 points to: void start(Duration timeout, Duration repeat_, std::function<void()>&& task_) {
stop(); // this line
...
} |
When the freeze occurs, I'm seeing:
|
Capturing from a user who is able to reproduce a application freeze with the following setup:
The issue can be reproduced with https://github.com/mapbox/mapbox-gl-native/tree/tvn-offline-freeze:
Download region
exampleStart
button and wait (the region will be paused and resumed automatically).I validated the Android file source activation and that was valid. Can't find anything else in the Android code that would be responsible for causing this behavior.
cc @tmpsantos
The text was updated successfully, but these errors were encountered: