Thanks for taking the time for reporting an issue!
Describe what happened
Fatal Exception: java.util.ConcurrentModificationException:
at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:970)
at java.util.LinkedList$ListItr.next(LinkedList.java:892)
at com.datadog.opentracing.PendingTrace.expireReference(PendingTrace.java:192)
at com.datadog.opentracing.PendingTrace.expireSpan(PendingTrace.java:118)
at com.datadog.opentracing.PendingTrace.addSpan(PendingTrace.java:144)
at com.datadog.opentracing.DDSpan.finishAndAddToTrace(DDSpan.java:101)
at com.datadog.opentracing.DDSpan.finish(DDSpan.java:110)
at com.datadog.android.tracing.TracingInterceptor.handleResponse(TracingInterceptor.kt:514)
at com.datadog.android.tracing.TracingInterceptor.interceptAndTrace(TracingInterceptor.kt:248)
at com.datadog.android.tracing.TracingInterceptor.intercept(TracingInterceptor.kt:180)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at com.ourpackage.DatadogSpanInterceptor.intercept(DatadogSpanInterceptor.kt:30)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at java.lang.Thread.run(Thread.java:1012)
Steps to reproduce the issue:
Not sure how to reproduce it but we've had a few reports of this exception.
Describe what you expected:
Additional context
- Android OS version: So far in Android 12 & 13
- Device Model: Galaxy Z Fold4, Model:Galaxy S21+ 5G, Redmi Note 12, Model:Camon 17, ...
- Datadog SDK version: 1.19.2
- Versions of any other relevant dependencies (OkHttp, …): OkHttp=4.11.0
- Proguard configuration:
- Gradle Plugins:
Thanks for taking the time for reporting an issue!
Describe what happened
Steps to reproduce the issue:
Not sure how to reproduce it but we've had a few reports of this exception.
Describe what you expected:
Additional context