| Bug #109152 | MySQL Shell SegmentFault | ||
|---|---|---|---|
| Submitted: | 21 Nov 2022 12:03 | Modified: | 29 Nov 2022 3:04 |
| Reporter: | Fang Garen | Email Updates: | |
| Status: | Duplicate | Impact on me: | |
| Category: | Shell General / Core Client | Severity: | S2 (Serious) |
| Version: | MySQL Shell 8.0.31 | OS: | Linux |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | mysql shell | ||
[21 Nov 2022 12:20]
MySQL Verification Team
Hello Fang Garen, Thank you for the report and feedback. Verified as described. regards, Umesh
[21 Nov 2022 12:21]
MySQL Verification Team
-
bin/mysqlsh
MySQL Shell 8.0.31
Copyright (c) 2016, 2022, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.
Type '\help' or '\?' for help; '\quit' to exit.
MySQL JS > \
MySQL JS > \sql
Switching to SQL mode... Commands end with ;
MySQL SQL >
MySQL SQL > \
> ;\
>
ERROR: Not connected.
Segmentation fault (core dumped)

Description: To repeat this, just type in: ``` \ ;\ ``` Try this docker image: mysql/mysql-opeartor:8.0.31-2.0.7 How to repeat: ``` $ mysqlsh -uroot --password=$MYSQL_ROOT_PASSWORD --sql Cannot set LC_ALL to locale en_US.UTF-8: No such file or directory MySQL Shell 8.0.31 Copyright (c) 2016, 2022, Oracle and/or its affiliates. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type '\help' or '\?' for help; '\quit' to exit. WARNING: Using a password on the command line interface can be insecure. Creating a session to 'root@localhost' Fetching global names for auto-completion... Press ^C to stop. Your MySQL connection id is 159 (X protocol) Server version: 8.0.31 MySQL Community Server - GPL No default schema selected; type \use <schema> to set one. MySQL localhost:33060+ ssl SQL > \ > ;\ > ERROR: 1065: Query was empty Segmentation fault ```