When using a DocumentReference as value in a query where clause or in a write operation's field value the application terminates because of a native crash on Windows using cloud_firestore 6.1.2.
Eccezione non gestita in 0x00007FF6CB27E0DB in fpa.exe: È stato passato un parametro non valido a una funzione che considera errori irreversibili i parametri non validi.
Stack trace:
> fpa.exe!std::bad_variant_access::_Doraise() Riga 411 C++
fpa.exe!stdext::exception::_Raise() Riga 117 C++
fpa.exe!std::_Throw_bad_variant_access() Riga 417 C++
fpa.exe!std::get<3,std::monostate,bool,int,__int64,double,std::string,std::vector<unsigned char,std::allocator<unsigned char>>,std::vector<int,std::allocator<int>>,std::vector<__int64,std::allocator<__int64>>,std::vector<double,std::allocator<double>>,std::vector<flutter::EncodableValue,std::allocator<flutter::EncodableValue>>,std::map<flutter::EncodableValue,flutter::EncodableValue,std::less<flutter::EncodableValue>,std::allocator<std::pair<flutter::EncodableValue const ,flutter::EncodableValue>>>,flutter::CustomEncodableValue,std::vector<float,std::allocator<float>>>(std::variant<std::monostate,bool,int,__int64,double,std::string,std::vector<unsigned char,std::allocator<unsigned char>>,std::vector<int,std::allocator<int>>,std::vector<__int64,std::allocator<__int64>>,std::vector<double,std::allocator<double>>,std::vector<flutter::EncodableValue,std::allocator<flutter::EncodableValue>>,std::map<flutter::EncodableValue,flutter::EncodableValue,std::less<flutter::EncodableValue>,std::allocator<std::pair<flutter::EncodableValue const ,flutter::EncodableValue>>>,flutter::CustomEncodableValue,std::vector<float,std::allocator<float>>> & _Var) Riga 1167 C++
fpa.exe!std::get<__int64,std::monostate,bool,int,__int64,double,std::string,std::vector<unsigned char,std::allocator<unsigned char>>,std::vector<int,std::allocator<int>>,std::vector<__int64,std::allocator<__int64>>,std::vector<double,std::allocator<double>>,std::vector<flutter::EncodableValue,std::allocator<flutter::EncodableValue>>,std::map<flutter::EncodableValue,flutter::EncodableValue,std::less<flutter::EncodableValue>,std::allocator<std::pair<flutter::EncodableValue const ,flutter::EncodableValue>>>,flutter::CustomEncodableValue,std::vector<float,std::allocator<float>>>(std::variant<std::monostate,bool,int,__int64,double,std::string,std::vector<unsigned char,std::allocator<unsigned char>>,std::vector<int,std::allocator<int>>,std::vector<__int64,std::allocator<__int64>>,std::vector<double,std::allocator<double>>,std::vector<flutter::EncodableValue,std::allocator<flutter::EncodableValue>>,std::map<flutter::EncodableValue,flutter::EncodableValue,std::less<flutter::EncodableValue>,std::allocator<std::pair<flutter::EncodableValue const ,flutter::EncodableValue>>>,flutter::CustomEncodableValue,std::vector<float,std::allocator<float>>> & _Var) Riga 1210 C++
fpa.exe!cloud_firestore_windows::FirestoreCodec::ReadValueOfType(unsigned char type, flutter::ByteStreamReader * stream) Riga 266 C++
[Codice esterno]
fpa.exe!flutter::StandardCodecSerializer::ReadValue(flutter::ByteStreamReader * stream) Riga 95 C++
fpa.exe!cloud_firestore_windows::FirestoreCodec::ReadValueOfType(unsigned char type, flutter::ByteStreamReader * stream) Riga 210 C++
[Codice esterno]
fpa.exe!flutter::StandardCodecSerializer::ReadValue(flutter::ByteStreamReader * stream) Riga 95 C++
fpa.exe!cloud_firestore_windows::FirestoreCodec::ReadValueOfType(unsigned char type, flutter::ByteStreamReader * stream) Riga 110 C++
[Codice esterno]
fpa.exe!flutter::StandardCodecSerializer::ReadValue(flutter::ByteStreamReader * stream) Riga 95 C++
fpa.exe!flutter::StandardCodecSerializer::ReadValueOfType(unsigned char type, flutter::ByteStreamReader * stream) Riga 215 C++
fpa.exe!cloud_firestore_windows::FirestoreCodec::ReadValueOfType(unsigned char type, flutter::ByteStreamReader * stream) Riga 299 C++
[Codice esterno]
fpa.exe!flutter::StandardCodecSerializer::ReadValue(flutter::ByteStreamReader * stream) Riga 95 C++
fpa.exe!flutter::StandardCodecSerializer::ReadValueOfType(unsigned char type, flutter::ByteStreamReader * stream) Riga 206 C++
fpa.exe!cloud_firestore_windows::FirestoreCodec::ReadValueOfType(unsigned char type, flutter::ByteStreamReader * stream) Riga 299 C++
[Codice esterno]
fpa.exe!flutter::StandardCodecSerializer::ReadValue(flutter::ByteStreamReader * stream) Riga 95 C++
[Codice esterno]
fpa.exe!flutter::StandardCodecSerializer::ReadValue(flutter::ByteStreamReader * stream) Riga 95 C++
fpa.exe!flutter::StandardCodecSerializer::ReadValueOfType(unsigned char type, flutter::ByteStreamReader * stream) Riga 206 C++
fpa.exe!cloud_firestore_windows::FirestoreCodec::ReadValueOfType(unsigned char type, flutter::ByteStreamReader * stream) Riga 299 C++
[Codice esterno]
fpa.exe!flutter::StandardCodecSerializer::ReadValue(flutter::ByteStreamReader * stream) Riga 95 C++
fpa.exe!flutter::StandardMessageCodec::DecodeMessageInternal(const unsigned char * binary_message, const unsigned __int64 message_size) Riga 326 C++
fpa.exe!flutter::MessageCodec<flutter::EncodableValue>::DecodeMessage(const unsigned char * binary_message, const unsigned __int64 message_size) Riga 31 C++
fpa.exe!flutter::BasicMessageChannel<flutter::EncodableValue>::SetMessageHandler::__l2::<lambda>(const unsigned char * binary_message, const unsigned __int64 binary_message_size, const std::function<void __cdecl(unsigned char const *,unsigned __int64)> & binary_reply) Riga 105 C++
[Codice esterno]
fpa.exe!flutter::`anonymous namespace'::ForwardToHandler(FlutterDesktopMessenger * messenger, const FlutterDesktopMessage * message, void * user_data) Riga 76 C++
[Codice esterno]
fpa.exe!wWinMain(HINSTANCE__ * instance, HINSTANCE__ * prev, wchar_t * command_line, int show_command) Riga 38 C++
[Codice esterno]
Is there an existing issue for this?
Which plugins are affected?
Database
Which platforms are affected?
Windows
Description
When using a DocumentReference as value in a query where clause or in a write operation's field value the application terminates because of a native crash on Windows using cloud_firestore 6.1.2.
Expand
Flutter doctorsnippet(I don't build the Android platform on this computer)
Reproducing the issue
Querying a collection:
Or updating a document:
Causes a native unhandled exception:
Firebase Core version
4.4.0
Flutter Version
3.41.1
Relevant Log Output
Flutter dependencies
Expand
Flutter dependenciessnippetAdditional context and comments
No response