MySQL Forums
Forum List  »  Connector/C++

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

Options: ReplyQuote


Subject
Views
Written By
Posted
2285
April 23, 2019 07:11PM
1000
April 24, 2019 05:02PM
1006
April 25, 2019 04:24PM
975
April 26, 2019 03:08AM
1167
April 26, 2019 03:29AM
995
April 26, 2019 07:56AM
943
April 26, 2019 08:12AM
Re: connector 8 Session exception
1065
April 26, 2019 11:04AM
1024
April 26, 2019 11:07AM
995
April 30, 2019 08:16AM
2058
May 05, 2019 11:40AM
926
November 27, 2019 10:51PM
791
November 28, 2019 03:49AM
892
February 03, 2020 12:21PM
672
February 04, 2020 09:13AM
752
February 07, 2020 01:03PM
761
February 11, 2020 12:03PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.