mapbox / mapbox/mapbox-maps-android

HttpServiceFactory.setHttpServiceInterceptor ANR

Open
#2,670 0 comments 0 reactions 0 assignees View on GitHub
auto-triaged bug :beetle:
Dominant language
Kotlin
Stars
578
Forks
161
PR merge metrics
No merged PRs in 30d

Description

## Environment

- Android OS version:
- Devices affected:
- Maps SDK Version: 11.14.0

## Observed behavior and steps to reproduce

ANR when calling `HttpServiceFactory.setHttpServiceInterceptor`

```
io.sentry.android.core.ApplicationNotResponding: Background ANR
libc 0x08089c syscall
libc 0x05d878 __futex_wait_ex
libc 0x06aa3c pthread_cond_wait
split_config.arm64_v8a.apk0x0df3b8 std::__ndk1::condition_variable::wait
split_config.arm64_v8a.apk0x0e0730 std::__ndk1::timed_mutex::lock
split_config.arm64_v8a.apk0x38d84c null
split_config.arm64_v8a.apk0x38d728 null
split_config.arm64_v8a.apk0x38d6b8 null
split_config.arm64_v8a.apk0x375b0c null
at com.mapbox.common.HttpServiceFactory.setHttpServiceInterceptor
```

## Expected behavior

No ANR

## Notes / preliminary analysis

## Additional links and references

Contributor guide

Open the contributing guide

Research direction

Begin by reproducing the ANR when calling com.mapbox.common.HttpServiceFactory.setHttpServiceInterceptor on Maps SDK 11.14.0. Use the provided stack trace and the interceptor entry point to trace the blocking operation; done means the call no longer causes an ANR under the reported conditions.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.