Bug #106149 MySQL Workbench crashed if a table was selected, right-clicked, and then the men
Submitted: 12 Jan 2022 17:22 Modified: 13 Jan 2022 14:53
Reporter: HEDER MAXIMO DE OLIVEIRVA Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:8.0.27 OS:Windows (Microsoft Windows 10 Pro)
Assigned to: CPU Architecture:x86
Tags: WBBugReporter

[12 Jan 2022 17:22] HEDER MAXIMO DE OLIVEIRVA
Description:
MySQL Workbench crash if a table is selected, right-clicked, and then the menu item Copy SQL to Clipboard chosen.

MySQL Workbench also crashed with the same model if an attempt was made to export the schema using the Forward Engineer SQL CREATE Script wizard

How to repeat:
Select a table 
right-click
Then, chose the menu item Copy SQL to Clipboard
[12 Jan 2022 17:23] HEDER MAXIMO DE OLIVEIRVA
Log file

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

[12 Jan 2022 17:24] HEDER MAXIMO DE OLIVEIRVA
Windows Event
Aplicativo: MySQLWorkbench.exe
Versão do Framework: v4.0.30319
Descrição: O processo foi terminado devido a uma exceção sem tratamento.
Informações da Exceção: System.AccessViolationException
   em <Module>.mforms.Menu.handle_action(mforms.Menu*, std.basic_string<char,std::char_traits<char>,std::allocator<char> >*)
   em MformsMenuStrip.ItemClick(System.Object, System.EventArgs)
   em System.Windows.Forms.ToolStripItem.RaiseEvent(System.Object, System.EventArgs)
   em System.Windows.Forms.ToolStripMenuItem.OnClick(System.EventArgs)
   em System.Windows.Forms.ToolStripItem.HandleClick(System.EventArgs)
   em System.Windows.Forms.ToolStripItem.HandleMouseUp(System.Windows.Forms.MouseEventArgs)
   em System.Windows.Forms.ToolStrip.OnMouseUp(System.Windows.Forms.MouseEventArgs)
   em System.Windows.Forms.ToolStripDropDown.OnMouseUp(System.Windows.Forms.MouseEventArgs)
   em System.Windows.Forms.Control.WmMouseUp(System.Windows.Forms.Message ByRef, System.Windows.Forms.MouseButtons, Int32)
   em System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
   em System.Windows.Forms.ToolStrip.WndProc(System.Windows.Forms.Message ByRef)
   em System.Windows.Forms.ToolStripDropDown.WndProc(System.Windows.Forms.Message ByRef)
   em System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
   em System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
   em System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
   em System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
   em System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
   em MySQL.GUI.Workbench.Program.Main(System.String[])
[13 Jan 2022 12:17] MySQL Verification Team
Hello,

Thank you for the bug report.
I tried to reproduce your issue on windows 10 with MySQL workbench 8.0.27 but I am not seeing any issues at my end.

Regards,
Ashwini Patil
[13 Jan 2022 14:53] HEDER MAXIMO DE OLIVEIRVA
Hi,

I am using Windows 11.

Cheers 

Heder