Bug #88618 Crash on running queries
Submitted: 23 Nov 2017 9:52 Modified: 23 Nov 2018 13:14
Reporter: Kr En Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:8.0.12 OS:Windows (10; 64bit)
Assigned to: CPU Architecture:Any
Tags: workbench

[23 Nov 2017 9:52] Kr En
Description:
On running any query (clicking on execute query, clicking on Select rows on table), system crashes, showing MySQL Workbench Unexpected Error window with Parameter is not valid error.
Windows tabs on top change to white background with red stripe around it.

I have uninstalled everything Workbench related, deleted folders in ProgramFiles and AppData, installed from freshly downloaded Workbench Installer. Didnt try previous versions, had same problem with 6.3.9 version.

Seems like some background picture is missing? Access problems?

Logs shows this:
10:47:32 [INF][SQL Editor Form]: Opened connection 'Local instance wampmysqld64' to MySQL Community Server (GPL) version 5.6.34
10:47:33 [INF][        WQE.net]: Launching SQL IDE
10:47:33 [INF][        WQE.net]: SQL IDE UI is ready
10:47:36 [ERR][      Workbench]: Parameter is not valid.
Exception = System.ArgumentException
Message = Parameter is not valid.
FullText = System.ArgumentException: Parameter is not valid.
   at System.Drawing.Image.get_Width()
   at System.Drawing.Image.get_Size()
   at MySQL.Controls.FlatTabControl.ValidateTab(Int32 index)
   at MySQL.Controls.FlatTabControl.DrawControl(Graphics g)
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.TabControl.WndProc(Message& m)
   at MySQL.Controls.FlatTabControl.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

How to repeat:
Run query
[23 Nov 2017 11:04] MySQL Verification Team
Thank you for the bug report. I couldn't repeat on similar environment, try uninstalling it and delete the folder: C:\Users\your_user_name\AppData\Roaming\MySQL\Workbench then install again. Thanks.
[23 Nov 2017 11:07] Kr En
As already written in OP, I have uninstalled and deleted all the folders, but that didnt help. The same error was already present in 6.3.9 version.

Anything else I can check or try to debug?
[28 Nov 2017 19:05] MySQL Verification Team
Thank you for the feedback. Please print the output of the below statement using the mysql.exe command client:

mysql 5.6 > show variables like '%versio%';
+-------------------------+---------------------------------+
| Variable_name           | Value                           |
+-------------------------+---------------------------------+
| innodb_version          | 5.6.39                          |
| protocol_version        | 10                              |
| slave_type_conversions  |                                 |
| version                 | 5.6.39-log                      |
| version_comment         | Source distribution 2017-NOV-10 |
| version_compile_machine | x86_64                          |
| version_compile_os      | Win64                           |
+-------------------------+---------------------------------+
7 rows in set (0.00 sec)

and attach the screenshot (using Files tab) of the steps you reported. Thanks.
[29 Nov 2017 9:20] Kr En
Since I'm using workbench to connect to other mysql servers, I dont have mysql server installed on my pc.

Also, version of mysql server doesnt play a role in this bug, since workbench crashes on different servers with different versions.

This is the result of one of the servers I'm connecting to:
innodb_version	5.6.33
protocol_version	10
slave_type_conversions	
version	5.6.33-0ubuntu0.14.04.1-log
version_comment	(Ubuntu)
version_compile_machine	x86_64
version_compile_os	debian-linux-gnu
[8 Dec 2017 17:43] MySQL Verification Team
Thank you for the feedback. With your generic description of 'running queries crashed' I couldn't repeat connecting with a remote or local server we don't also similar bugs reported against 6.3.10 version, so I assume is something restricted to your environment. Please provide a repeatable test case with create table, insert data statements and queries which provoke the crash (use Files tab to attach the SQL script). Thanks in advance.
[9 Jan 2018 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[5 Sep 2018 12:05] Kr En
Screen capture of bug happening

Attachment: 2018-09-05 14-00-53.mkv (application/octet-stream, text), 773.26 KiB.

[5 Sep 2018 12:07] Kr En
I have added the screen capture to the bug, since its the same with new version of workbench.

Again, I realize its not workbenches bug, its something on my side, but its really really annoying and I cant figure it out.

I have also tried to reinstall EVERYTHING mysql related on my PC, also running mysql workbench with administrator rights.
[23 Oct 2018 13:14] MySQL Verification Team
Please try version 8.0.13. Thanks.
[24 Nov 2018 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".