Bug #92726 MySQL Workbench crashes when importing a SQL file
Submitted: 10 Oct 2018 5:12 Modified: 10 Oct 2018 8:32
Reporter: Sherwin Lu Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:8.0.11 OS:MacOS (10.13.6)
Assigned to: CPU Architecture:x86

[10 Oct 2018 5:12] Sherwin Lu
Description:
When I try to open a SQL script, MySQL Workbench crashes. Here are the contents of the SQL script:

create table oauth_client_details (
  client_id VARCHAR(255) PRIMARY KEY,
  resource_ids VARCHAR(255),
  client_secret VARCHAR(255),
  scope VARCHAR(255),
  authorized_grant_types VARCHAR(255),
  web_server_redirect_uri VARCHAR(255),
  authorities VARCHAR(255),
  access_token_validity INTEGER,
  refresh_token_validity INTEGER,
  additional_information VARCHAR(4096),
  autoapprove VARCHAR(255)
);

How to repeat:
1) Launch MySQL Workbench
2) File -> Open the SQL file

MySQL Workbench crashes
[10 Oct 2018 5:14] Sherwin Lu
SQL script

Attachment: simpleddl.sql (application/octet-stream, text), 399 bytes.

[10 Oct 2018 5:15] Sherwin Lu
Application Dump Log

Attachment: mysqlworkbench.log (application/octet-stream, text), 93.62 KiB.

[10 Oct 2018 6:28] MySQL Verification Team
Hello Sherwin Lu,

Thank you for the report.
I'm not seeing any issues with MySQL Workbench Community (GPL) for Mac OS X version 8.0.12 CE build 13312926 (64 bit) on macOS 10.13.6 High Sierra x86_64. Could you please upgrade to WB 8.0.12 and report us back if you are still seeing this issue on WB 8.0.12.

regards,
Umesh
[10 Oct 2018 6:28] MySQL Verification Team
Screenshot - Mac

Attachment: 92726.jpeg (image/jpeg, text), 148.64 KiB.

[10 Oct 2018 8:32] Sherwin Lu
Upgrading to 8.0.12 fixed the issue and I am able to open up the DDL file now.