Open eduardbosch-jt opened 1 year ago
Hello @eduardbosch-jt. Are you still able to see crash logs related to this issue with the latest version of Firebase Performace?
Hey @exaby73 I'm sorry but we removed the interceptor to monitor the network requests performance so I cannot verify it anymore.
Here is the part of the code that is relevant towards the crash: https://github.com/firebase/firebase-android-sdk/blob/main/firebase-perf/src/main/java/com/google/firebase/perf/metrics/NetworkRequestMetricBuilder.java#L315-L319.
Looking at the code, we don't see anything suspicious that could cause this crash. The potential situation could be a crash arising because of a different version of protobuf lite. Can you please share us the version of the protobuf-lite that is being used in this application to debug this further?
Hey @eduardbosch-jt. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
I cannot reproduce it.
For some reason, we are seeing some crashes when we call
HttpMetric::stop
. Should this method ever throw an exception?It looks like it's related to Protobuf not being able to update some data. Sometimes it says it's not readable and some other times it tries to write outside the current range.
Here you can see some stack traces:
Relevant Code:
We are using a simple custom interceptor to send the data. I'm not sharing the real code, as it has some abstractions, but it should be this: