-
Notifications
You must be signed in to change notification settings - Fork 153
Open
Labels
bug 🪲Something isn't workingSomething isn't working
Description
Environment
- Android OS version: 7.0, 7.1.1, 8.1.0, 9.0, 11, 12
- Devices affected: Motorola moto e6 play, moto e6s, Samsung Galaxy Tab A 9.7 (SM-T550) and others
- Maps SDK Version: 11.16.6
Observed behavior and steps to reproduce
We noticed a crash started to happen after we updated the Maps SDK from 11.12.2 to 11.16.6.
We see it in our crash reporting system.
We were not able to reproduce it locally.
Stacktrace:
java.lang.Error: thread constructor failed: Try again
at com.mapbox.common.SchedulerFactory.createSequenced(SchedulerFactory.java:-2)
at com.mapbox.common.module.cronet.CronetClientDetail.buildRequestWithEngine(CronetClientDetail.kt:48)
at com.mapbox.common.module.cronet.CronetClientDetail.buildRequest(CronetClientDetail.kt:33)
at com.mapbox.common.module.MapboxHttpClient.request(MapboxHttpClient.kt:241)
Threads:
Thread 2 - main - (RUNNABLE)
at com.mapbox.common.SchedulerFactory.createSequenced(SchedulerFactory.java:-2)
at com.mapbox.common.module.cronet.CronetClientDetail.buildRequestWithEngine(CronetClientDetail.kt:48)
at com.mapbox.common.module.cronet.CronetClientDetail.buildRequest(CronetClientDetail.kt:33)
at com.mapbox.common.module.MapboxHttpClient.request(MapboxHttpClient.kt:241)
Thread null - [67 threads omitted as the maxReportedThreads limit (200) was exceeded] - (UNKNOWN)
at (-)
...
Expected behavior
Crash shouldn't happen
Notes / preliminary analysis
As we can see from the stacktrace - this issue is related to the tread creation process. Apparently the maximum number of threads is exceeded.
Presumably there has to be the Throwable caught instead of an Exception.
Metadata
Metadata
Assignees
Labels
bug 🪲Something isn't workingSomething isn't working