### MySQL CLI session [root@CentOS7 Downloads]# mysql -uroot -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 8 Server version: 8.0.2-dmr MySQL Community Server (GPL) Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> INSTALL PLUGIN mysqlx SONAME 'mysqlx.so'; Query OK, 0 rows affected (0.32 sec) mysql> create database test; Query OK, 1 row affected (0.05 sec) mysql> use test Database changed mysql> create table t1(id int not null); Query OK, 0 rows affected (0.03 sec) mysql> ## Shell Session [ushastry@CentOS7 ~]$ mysqlsh root@localhost/test --py --execute "import mysqlx" Enter password: *** Error in `mysqlsh': double free or corruption (out): 0x0000000002fe9630 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x7c619)[0x7fc80fc7f619] mysqlsh[0xd25d33] mysqlsh(_ZN6google8protobuf20FileDescriptorTablesD1Ev+0x86)[0xd3148a] /lib64/libc.so.6(+0x38a69)[0x7fc80fc3ba69] /lib64/libc.so.6(+0x38ab5)[0x7fc80fc3bab5] /lib64/libc.so.6(__libc_start_main+0xfc)[0x7fc80fc24c0c] mysqlsh[0x73917c] ======= Memory map: ======== 00400000-012f7000 r-xp 00000000 fd:00 52688405 /usr/bin/mysqlsh 014f6000-01510000 r--p 00ef6000 fd:00 52688405 /usr/bin/mysqlsh 01510000-016cf000 rw-p 00f10000 fd:00 52688405 /usr/bin/mysqlsh 016cf000-016e1000 rw-p 00000000 00:00 0 02d29000-030c6000 rw-p 00000000 00:00 0 [heap] 3386e2cf0000-3386e2cf1000 r-xp 00000000 00:00 0 7fc800000000-7fc800021000 rw-p 00000000 00:00 0 7fc800021000-7fc804000000 ---p 00000000 00:00 0 7fc8040ee000-7fc8040ff000 r-xp 00000000 fd:00 50550452 /usr/lib64/python2.7/lib-dynload/datetime.so 7fc8040ff000-7fc8042fe000 ---p 00011000 fd:00 50550452 /usr/lib64/python2.7/lib-dynload/datetime.so 7fc8042fe000-7fc8042ff000 r--p 00010000 fd:00 50550452 /usr/lib64/python2.7/lib-dynload/datetime.so 7fc8042ff000-7fc804303000 rw-p 00011000 fd:00 50550452 /usr/lib64/python2.7/lib-dynload/datetime.so 7fc804303000-7fc804307000 r-xp 00000000 fd:00 60808 /usr/lib64/libuuid.so.1.3.0 7fc804307000-7fc804506000 ---p 00004000 fd:00 60808 /usr/lib64/libuuid.so.1.3.0 7fc804506000-7fc804507000 r--p 00003000 fd:00 60808 /usr/lib64/libuuid.so.1.3.0 7fc804507000-7fc804508000 rw-p 00004000 fd:00 60808 /usr/lib64/libuuid.so.1.3.0 7fc804508000-7fc80450b000 r-xp 00000000 fd:00 50550455 /usr/lib64/python2.7/lib-dynload/fcntlmodule.so 7fc80450b000-7fc80470a000 ---p 00003000 fd:00 50550455 /usr/lib64/python2.7/lib-dynload/fcntlmodule.so 7fc80470a000-7fc80470b000 r--p 00002000 fd:00 50550455 /usr/lib64/python2.7/lib-dynload/fcntlmodule.so 7fc80470b000-7fc80470c000 rw-p 00003000 fd:00 50550455 /usr/lib64/python2.7/lib-dynload/fcntlmodule.so 7fc80470c000-7fc80470f000 r-xp 00000000 fd:00 50502618 /usr/lib64/python2.7/lib-dynload/_randommodule.so 7fc80470f000-7fc80490e000 ---p 00003000 fd:00 50502618 /usr/lib64/python2.7/lib-dynload/_randommodule.so 7fc80490e000-7fc80490f000 r--p 00002000 fd:00 50502618 /usr/lib64/python2.7/lib-dynload/_randommodule.so 7fc80490f000-7fc804910000 rw-p 00003000 fd:00 50502618 /usr/lib64/python2.7/lib-dynload/_randommodule.so 7fc804910000-7fc804951000 rw-p 00000000 00:00 0 7fc804951000-7fc80496d000 r-xp 00000000 fd:00 50502612 /usr/lib64/python2.7/lib-dynload/_io.so 7fc80496d000-7fc804b6c000 ---p 0001c000 fd:00 50502612 /usr/lib64/python2.7/lib-dynload/_io.so 7fc804b6c000-7fc804b6d000 r--p 0001b000 fd:00 50502612 /usr/lib64/python2.7/lib-dynload/_io.so 7fc804b6d000-7fc804b77000 rw-p 0001c000 fd:00 50502612 /usr/lib64/python2.7/lib-dynload/_io.so 7fc804b77000-7fc804b7e000 r-xp 00000000 fd:00 142886 /usr/lib64/libffi.so.6.0.1 7fc804b7e000-7fc804d7d000 ---p 00007000 fd:00 142886 /usr/lib64/libffi.so.6.0.1 7fc804d7d000-7fc804d7e000 r--p 00006000 fd:00 142886 /usr/lib64/libffi.so.6.0.1 7fc804d7e000-7fc804d7f000 rw-p 00007000 fd:00 142886 /usr/lib64/libffi.so.6.0.1 7fc804d7f000-7fc804d99000 r-xp 00000000 fd:00 50502604 /usr/lib64/python2.7/lib-dynload/_ctypes.so 7fc804d99000-7fc804f98000 ---p 0001a000 fd:00 50502604 /usr/lib64/python2.7/lib-dynload/_ctypes.so 7fc804f98000-7fc804f99000 r--p 00019000 fd:00 50502604 /usr/lib64/python2.7/lib-dynload/_ctypes.so 7fc804f99000-7fc804f9d000 rw-p 0001a000 fd:00 50502604 /usr/lib64/python2.7/lib-dynload/_ctypes.so 7fc804f9d000-7fc805114000 r-xp 00000000 fd:00 2199472 /usr/lib64/python2.7/site-packages/_mysqlxpb.so 7fc805114000-7fc805314000 ---p 00177000 fd:00 2199472 /usr/lib64/python2.7/site-packages/_mysqlxpb.so 7fc805314000-7fc80531b000 r--p 00177000 fd:00 2199472 /usr/lib64/python2.7/site-packages/_mysqlxpb.so 7fc80531b000-7fc80531f000 rw-p 0017e000 fd:00 2199472 /usr/lib64/python2.7/site-packages/_mysqlxpb.so 7fc80531f000-7fc805360000 rw-p 00000000 00:00 0 7fc805360000-7fc805368000 r-xp 00000000 fd:00 50550439 /usr/lib64/python2.7/lib-dynload/_json.so 7fc805368000-7fc805567000 ---p 00008000 fd:00 50550439 /usr/lib64/python2.7/lib-dynload/_json.so 7fc805567000-7fc805568000 r--p 00007000 fd:00 50550439 /usr/lib64/python2.7/lib-dynload/_json.so 7fc805568000-7fc805569000 rw-p 00008000 fd:00 50550439 /usr/lib64/python2.7/lib-dynload/_json.so 7fc805569000-7fc8055aa000 rw-p 00000000 00:00 0 7fc8055aa000-7fc8055ae000 r-xp 00000000 fd:00 50550436 /usr/lib64/python2.7/lib-dynload/_hashlib.so 7fc8055ae000-7fc8057ad000 ---p 00004000 fd:00 50550436 /usr/lib64/python2.7/lib-dynload/_hashlib.so 7fc8057ad000-7fc8057ae000 r--p 00003000 fd:00 50550436 /usr/lib64/python2.7/lib-dynload/_hashlib.so 7fc8057ae000-7fc8057af000 rw-p 00004000 fd:00 50550436 /usr/lib64/python2.7/lib-dynload/_hashlib.so 7fc8057af000-7fc8057f1000 rw-p 00000000 00:00 0 7fc8057f1000-7fc8057f8000 r-xp 00000000 fd:00 50550444 /usr/lib64/python2.7/lib-dynload/_struct.so 7fc8057f8000-7fc8059f7000 ---p 00007000 fd:00 50550444 /usr/lib64/python2.7/lib-dynload/_struct.so 7fc8059f7000-7fc8059f8000 r--p 00006000 fd:00 50550444 /usr/lib64/python2.7/lib-dynload/_struct.so 7fc8059f8000-7fc8059fa000 rw-p 00007000 fd:00 50550444 /usr/lib64/python2.7/lib-dynload/_struct.so 7fc8059fa000-7fc8059fe000 r-xp 00000000 fd:00 50550450 /usr/lib64/python2.7/lib-dynload/cStringIO.so 7fc8059fe000-7fc805bfd000 ---p 00004000 fd:00 50550450 /usr/lib64/python2.7/lib-dynload/cStringIO.so 7fc805bfd000-7fc805bfe000 r--p 00003000 fd:00 50550450 /usr/lib64/python2.7/lib-dynload/cStringIO.so 7fc805bfe000-7fc805c00000 rw-p 00004000 fd:00 50550450 /usr/lib64/python2.7/lib-dynload/cStringIO.so 7fc805c00000-7fc805c0f000 r-xp 00000000 fd:00 50550441 /usr/lib64/python2.7/lib-dynload/_socketmodule.so 7fc805c0f000-7fc805e0e000 ---p 0000f000 fd:00 50550441 /usr/lib64/python2.7/lib-dynload/_socketmodule.so 7fc805e0e000-7fc805e0f000 r--p 0000e000 fd:00 50550441 /usr/lib64/python2.7/lib-dynload/_socketmodule.soAborted (core dumped) ]777;notify;Command completed;mysqlsh root@localhost/test --py --execute "import mysqlx"[ushastry@CentOS7 ~]$ ## OS and package details [ushastry@CentOS7 ~]$ cat /etc/*release CentOS Linux release 7.4.1708 (Core) NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7" CentOS Linux release 7.4.1708 (Core) CentOS Linux release 7.4.1708 (Core) ]777;notify;Command completed;cat /etc/*release[ushastry@CentOS7 ~]$ rpm -qa|grep -i mysql mysql-community-common-8.0.2-0.1.dmr.el7.x86_64 mysql-community-libs-8.0.2-0.1.dmr.el7.x86_64 mysql57-community-release-el7-11.noarch mysql-community-server-8.0.2-0.1.dmr.el7.x86_64 mysql-community-libs-compat-8.0.2-0.1.dmr.el7.x86_64 mysql-connector-python-8.0.4-0.1.dmr.el7.x86_64 mysql-community-client-8.0.2-0.1.dmr.el7.x86_64 mysql-shell-8.0.0-0.1.dmr.el7.x86_64 ]777;notify;Command completed;rpm -qa|grep -i mysql[ushastry@CentOS7 ~]$ [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `mysqlsh root@localhost/test --py --execute import mysqlx'. Program terminated with signal 6, Aborted. #0 0x00007f48a5e081f7 in raise () from /lib64/libc.so.6 Missing separate debuginfos, use: debuginfo-install mysql-shell-8.0.0-0.1.dmr.el7.x86_64 (gdb) bt #0 0x00007f48a5e081f7 in raise () from /lib64/libc.so.6 #1 0x00007f48a5e098e8 in abort () from /lib64/libc.so.6 #2 0x00007f48a5e47f47 in __libc_message () from /lib64/libc.so.6 #3 0x00007f48a5e4f619 in _int_free () from /lib64/libc.so.6 #4 0x0000000000d25d33 in std::tr1::_Hashtable, std::pair const, google::protobuf::EnumValueDescriptor const*>, std::allocator const, google::protobuf::EnumValueDescriptor const*> >, std::_Select1st const, google::protobuf::EnumValueDescriptor const*> >, std::equal_to >, google::protobuf::(anonymous namespace)::PointerIntegerPairHash >, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::~_Hashtable() () #5 0x0000000000d3148a in google::protobuf::FileDescriptorTables::~FileDescriptorTables() () #6 0x00007f48a5e0ba69 in __run_exit_handlers () from /lib64/libc.so.6 #7 0x00007f48a5e0bab5 in exit () from /lib64/libc.so.6 #8 0x00007f48a5df4c0c in __libc_start_main () from /lib64/libc.so.6 #9 0x000000000073917c in _start () (gdb)