Re: connector 8 Session exception
Posted by:
Reha Elci
Date: April 26, 2019 11:04AM
Hi there Rafal,
Here is what I see in the db. I am happy to debug further by a screen share as well.
Variable_name;Value
default_collation_for_utf8mb4;utf8mb4_0900_ai_ci
collation_server;utf8mb4_0900_ai_ci
collation_database;latin1_general_ci
collation_connection;utf8mb4_0900_ai_ci
the call stack is as follows:
> mysql.exe!mysqlx::abi2::r0::string::traits<char>::from_str(mysqlx::abi2::r0::string & to, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & from) Line 219 C++
mysql.exe!mysqlx::abi2::r0::string::string<char>(const char * other) Line 154 C++
mysql.exe!mysqlx::abi2::r0::Session::Session<char const *,int,char const *,char const *,char const *>(const char * <options_0>, int <options_1>, const char * <options_2>, const char * <options_3>, const char * <options_4>) Line 1137 C++
mysql.exe!main() Line 16 C++
in terms of code:
traits<C>::from_str(*this, str); -- str has a good value like "db"
is calling below
static void from_str(mysqlx::string &to, const string &from)
{
Impl::from_utf8(to, from); -- to and from are invalid <unable to read memory>
}
Hope this helps!
Thanks