Open feixuwu opened 1 year ago
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
Thank you for reporting this issue.
It is really odd that builder.GetBufferPointer()
can return a null pointer. I'll mark this as a bug for now.
We’re seeing what looks like the same crash (in remote_config_response.cc:98
). I’ve reported the details in #1433.
@chkuang-g do you have any update on this? We are seeing many users running into this on app launch when we initialize remote config. We collected all details in #1433, from what it looks like a thread safety issue.
[READ] For Firebase Unity SDK question, please report to Firebase Unity Sample
Once you've read this section and determined that your issue is appropriate for this repository, please delete this section.
[REQUIRED] Please fill in the following fields:
[REQUIRED] Please describe the question here:
hi, I found some crash on my customer's PC, from the minidump, the crash is like this:
the rdx is zero
![image](https://github.com/firebase/firebase-cpp-sdk/assets/12270346/5cf70f98-1fcf-46ec-81b3-a2adc73bcd92)
and the correspond code is
the rbx+68h get the builder
the rax+170h use the builder get the buffer pointer,
the crash reason is GetRoot function will try use the buffer pointer from builder_,
but if the buffer pointer is null, it will crash,
so I think it should do some protect like this:
![image](https://github.com/firebase/firebase-cpp-sdk/assets/12270346/3c9a590d-82d9-4c8e-993c-74e383b5c33c)