Bug #98375 console redirection failed
Submitted: 25 Jan 2020 2:12 Modified: 13 May 2020 12:12
Reporter: Adam Baysal Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:8.0.19 OS:Windows (10 Home 10.0.18362 Build 18362)
Assigned to: MySQL Verification Team CPU Architecture:Other (x64 intel i7-5500U)
Tags: MySQL Workbench

[25 Jan 2020 2:12] Adam Baysal
Description:
1> The Workbench 8.0.19 was started,
2> It was connected to localhost MySQL server
3> The DB Schema and its tables were listed on the Navigator panel correctly
4> Clicked on the table records list icon on the right to the table name to be shown its all records on the navigator panel (Select * from the table)
5> As soon as click on it then the Workbench is shutting itself down.

wb.log file is attached below.

How to repeat:
19:48:40 [ERR][      Workbench]: Console redirection failed.
19:48:40 [INF][      Workbench]: Starting up Workbench
19:48:40 [INF][      Workbench]: Current environment:
	Command line: "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\MySQLWorkbench.exe" 
	CurrentDirectory: C:\Program Files\MySQL\MySQL Workbench 8.0 CE
	HasShutdownStarted: False
	OSVersion: Microsoft Windows NT 6.2.9200.0
	SystemDirectory: C:\WINDOWS\system32
	TickCount: 454119796
	UserInteractive: True
	Version: 4.0.30319.42000
	WorkingSet: 41967616
19:48:40 [INF][      Workbench]: Environment variables:
	COMPUTERNAME = DESKTOP-GO83S3O
	USERPROFILE = C:\Users\GenUs
	HOMEPATH = \Users\GenUs
	LOCALAPPDATA = C:\Users\GenUs\AppData\Local
	PSModulePath = C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\
	PROCESSOR_ARCHITECTURE = AMD64
	CommonProgramW6432 = C:\Program Files\Common Files
	CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files
	ProgramFiles(x86) = C:\Program Files (x86)
	PROCESSOR_LEVEL = 6
	LOGONSERVER = \\DESKTOP-GO83S3O
	PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
	HOMEDRIVE = C:
	SystemRoot = C:\WINDOWS
	SESSIONNAME = Console
	ALLUSERSPROFILE = C:\ProgramData
	DriverData = C:\Windows\System32\Drivers\DriverData
	PROCESSOR_REVISION = 3d04
	FPS_BROWSER_APP_PROFILE_STRING = Internet Explorer
	APPDATA = C:\Users\GenUs\AppData\Roaming
	Path = C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\Plantronics\Spokes3G\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Git\cmd;C:\Program Files\MySQL\MySQL Utilities 1.6\;C:\Program Files\MySQL\MySQL Shell 8.0\bin\
	USERNAME = GenUs
	OneDrive = C:\Users\GenUs\OneDrive
	TEMP = C:\Users\GenUs\AppData\Local\Temp
	CommonProgramFiles = C:\Program Files\Common Files
	OS = Windows_NT
	USERDOMAIN_ROAMINGPROFILE = DESKTOP-GO83S3O
	PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 61 Stepping 4, GenuineIntel
	OneDriveConsumer = C:\Users\GenUs\OneDrive
	USERDOMAIN = DESKTOP-GO83S3O
	SystemDrive = C:
	FPS_BROWSER_USER_PROFILE_STRING = Default
	ProgramFiles = C:\Program Files
	VS160COMCOMNTOOLS = C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\
	NUMBER_OF_PROCESSORS = 4
	ComSpec = C:\WINDOWS\system32\cmd.exe
	TMP = C:\Users\GenUs\AppData\Local\Temp
	ProgramData = C:\ProgramData
	ProgramW6432 = C:\Program Files
	windir = C:\WINDOWS
	JAVA_HOME = C:\Program Files\Android\Jdk\microsoft_dist_openjdk_1.8.0.25
	PUBLIC = C:\Users\Public
19:48:40 [INF][      Workbench]: Current version given by meta info is: 8.0.19
19:48:40 [INF][      Workbench]: Setting PATH to: C:\WINDOWS\system32;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\Plantronics\Spokes3G\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Git\cmd;C:\Program Files\MySQL\MySQL Utilities 1.6\;C:\Program Files\MySQL\MySQL Shell 8.0\bin\
19:48:40 [INF][ mforms managed]: Initializing mforms wrapper
19:48:40 [INF][   WBContext UI]: Initializing workbench context UI with these values:
	base dir: C:\Program Files\MySQL\MySQL Workbench 8.0 CE
	plugin path: C:\Program Files\MySQL\MySQL Workbench 8.0 CE
	struct path: 
	module path: C:\Program Files\MySQL\MySQL Workbench 8.0 CE/modules
	library path: C:\Program Files\MySQL\MySQL Workbench 8.0 CE
	user data dir: C:\Users\GenUs\AppData\Roaming\MySQL\Workbench
	open at start: 
	open type: 
	run at startup: 
	run type: 
	Force SW rendering: No
	Force OpenGL: No
	quit when done: No
19:48:40 [INF][      WBContext]: WbContext::init
19:48:42 [INF][            WBA]: Looking for extension modules for WBA...
19:48:42 [INF][            WBA]: 0 extension modules found
19:48:43 [WRN][            grt]: C:\Users\GenUs\AppData\Roaming\MySQL\Workbench\connections.xml:27: link '{5CFD484C-13BA-421E-96D4-5E8373FE98B8}' <object GrtObject> key=owner could not be resolved
19:48:43 [INF][      WBContext]: System info:
 	MySQL Workbench Community (GPL) for Windows version 8.0.19 CE build 15713499 (64 bit)
	Configuration Directory: C:\Users\GenUs\AppData\Roaming\MySQL\Workbench
	Data Directory: C:\Program Files\MySQL\MySQL Workbench 8.0 CE
	Cairo Version: 1.10.2
	OS: Microsoft Windows 10 Home
	CPU: 4x Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz, 7.9 GiB RAM
	Active video adapter Intel(R) HD Graphics 5500
	Installed video RAM: 1024 MB
	Current video mode: 2560 x 1440 x 4294967296 colors
	Used bit depth: 32
	Driver version: 20.19.15.4549
	Installed display drivers: igdumdim64.dll,igd10iumd64.dll,igd10iumd64.dll,igd12umd64.dll
	Current user language: English (United States)

19:48:43 [INF][    WQE backend]: Found auto-save workspace C:\Users\GenUs\AppData\Roaming\MySQL\Workbench\sql_workspaces\Local_instance_MySQL80-1.autosave
19:48:43 [INF][      Workbench]: UI is up
19:48:44 [INF][      Workbench]: Running the application
19:48:47 [INF][SQL Editor Form]: Opened connection 'Local instance MySQL80' to MySQL Community Server - GPL version 8.0.19
19:48:48 [INF][        WQE.net]: Launching SQL IDE
19:49:54 [INF][        WQE.net]: SQL IDE UI is ready
19:50:03 [ERR][      Workbench]: A generic error occurred in GDI+.
Exception = System.Runtime.InteropServices.ExternalException
Message = A generic error occurred in GDI+.
FullText = System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
   at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
   at System.Drawing.Graphics.FillRectangle(Brush brush, Single x, Single y, Single width, Single height)
   at System.Drawing.Graphics.FillRectangle(Brush brush, RectangleF rect)
   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)
19:50:03 [ERR][      Workbench]: The type initializer for 'MySQL.GUI.Workbench.ExceptionDialog' threw an exception.
Exception = System.TypeInitializationException
Message = The type initializer for 'MySQL.GUI.Workbench.ExceptionDialog' threw an exception.
FullText = System.TypeInitializationException: The type initializer for 'MySQL.GUI.Workbench.ExceptionDialog' threw an exception. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ComponentModel.Win32Exception: The operation completed successfully
   at System.Drawing.Icon.Initialize(Int32 width, Int32 height)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.SerializationInvoke(IRuntimeMethodInfo method, Object target, SerializationInfo info, StreamingContext& context)
   at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context)
   at System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder)
   at System.Runtime.Serialization.ObjectManager.DoFixups()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Resources.ResourceReader.DeserializeObject(Int32 typeIndex)
   at System.Resources.ResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
   at System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase, Boolean isString)
   at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
   at MySQL.GUI.Workbench.ExceptionDialog.InitializeComponent()
   at MySQL.GUI.Workbench.ExceptionDialog..cctor()
   --- End of inner exception stack trace ---
   at MySQL.GUI.Workbench.ExceptionDialog.Show(String message, String info, WbContext wbcontext)
   at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   at System.Windows.Forms.Control.WndProcException(Exception e)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
[9 Feb 2020 1:44] Adam Baysal
I have been uninstalled and installed MySQL 8.0.19 many times. Even there hasn't been any data in any table yet, MySQL Workbench is still shutting down itself while declared in the logs that insufficient memory for the workbench. However, I have watched the memory and processor load in the windows task manager which the physical memory load had never gone over 65% utilization.
Last time I uninstall/install(Used Installer App) MySQL 8.0.19 I have manually deleted all MySQL folders from the windows programfiles folder. I have chosen to deleted database files also.
Thank you
[13 Apr 2020 12:12] MySQL Verification Team
Hello Adam Baysal,

Thank you for the bug report.
Please provide us the table structure and data whichever is causing the problem. Thanks.

Regards,
Ashwini Patil
[14 May 2020 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".
[24 Dec 2020 8:29] Favorite Otu
kkllllllllllllllllllllllllllllllllllllllllllll

Attachment: wb.log (application/octet-stream, text), 7.94 KiB.

[24 Feb 2021 6:09] qiloyar jackpo
俺也一样
10:51:43 [ERR][      Workbench]: Console redirection failed.
10:51:43 [INF][      Workbench]: Starting up Workbench
10:51:43 [INF][      Workbench]: Current environment:
	Command line: "D:\Program Files\MySQL\MySQL Workbench 8.0 CE\MySQLWorkbench.exe" 
	CurrentDirectory: D:\Program Files\MySQL\MySQL Workbench 8.0 CE
	HasShutdownStarted: False
	OSVersion: Microsoft Windows NT 6.2.9200.0
	SystemDirectory: C:\WINDOWS\system32
	TickCount: 1939265
	UserInteractive: True
	Version: 4.0.30319.42000
	WorkingSet: 43220992
。。。。。。。。。。。。。
libssh: ssh_packet_userauth_failure ssh_packet_userauth_failure: Access denied for 'none'. Authentication that can continue: publickey,password,keyboard-interactive
11:07:13 [INF][     SSHSession]: Banner: 
11:07:13 [INF][      SSHCommon]: libssh: ssh_packet_userauth_failure ssh_packet_userauth_failure: Access denied for 'unknown'. Authentication that can continue: publickey,password,keyboard-interactive
11:07:13 [INF][     SSH tunnel]: SSH tunnel opened on port: 4243