Bug #78484 MySQLWorkbench.exe System.AccessViolationException
Submitted: 19 Sep 2015 8:37 Modified: 19 Oct 2015 19:11
Reporter: Taran S Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S2 (Serious)
Version:6.3.4.0 build 828 32 bit OS:Windows (10)
Assigned to: CPU Architecture:Any
Tags: AccessViolationException

[19 Sep 2015 8:37] Taran S
Description:
Occurs when trying to ctrl + space autocomplete.

Application: MySQLWorkbench.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
   at <Module>.mforms.MenuItem.callback(mforms.MenuItem*)
   at MenuItemEventTarget.MenuItemClick(System.Object, System.EventArgs)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(System.Object, System.EventArgs)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(System.EventArgs)
   at System.Windows.Forms.ToolStripItem.HandleClick(System.EventArgs)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(System.EventArgs, System.Windows.Forms.ToolStripItemEventType)
   at System.Windows.Forms.ToolStripItem.FireEvent(System.EventArgs, System.Windows.Forms.ToolStripItemEventType)
   at System.Windows.Forms.ToolStripMenuItem.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.ToolStripManager.ProcessShortcut(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.ToolStripManager.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.ContainerControl.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.Form.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.Control.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.Control.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.Control.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.ContainerControl.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.Form.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.Control.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.Control.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.ContainerControl.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.Control.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.Control.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.ContainerControl.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.Control.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.Control.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.ContainerControl.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.Control.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.Control.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.Control.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.Control.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.ContainerControl.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.Form.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.Control.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.Control.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.ContainerControl.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.Control.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.Control.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.Control.ProcessCmdKey(System.Windows.Forms.Message ByRef, System.Windows.Forms.Keys)
   at System.Windows.Forms.Control.PreProcessMessage(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control.PreProcessControlMessageInternal(System.Windows.Forms.Control, System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Application+ThreadContext.PreTranslateMessage(MSG ByRef)
   at System.Windows.Forms.Application+ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG ByRef)
   at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
   at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
   at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
   at MySQL.GUI.Workbench.Program.Main(System.String[])

Faulting application name: MySQLWorkbench.exe, version: 6.3.4.0, time stamp: 0x5575837b
Faulting module name: mysql.parser.dll, version: 0.0.0.0, time stamp: 0x55757e44
Exception code: 0xc0000005
Fault offset: 0x00019359
Faulting process ID: 0x1870
Faulting application start time: 0x01d0f2b4daa26b15
Faulting application path: C:\Program Files (x86)\MySQL\MySQL Workbench 6.3 CE\MySQLWorkbench.exe
Faulting module path: C:\Program Files (x86)\MySQL\MySQL Workbench 6.3 CE\mysql.parser.dll
Report ID: d5f3e8e4-0ce7-4c42-be42-2ffe8704e280
Faulting package full name: 
Faulting package-relative application ID: 

Also sometimes occurs with these details:

Application: MySQLWorkbench.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
   at <Module>.wb.WBContext.flush_idle_tasks(wb.WBContext*)
   at MySQL.Workbench.WbContext.flush_idle_tasks()
   at MySQL.GUI.Workbench.Program.timer_Tick(System.Object, System.EventArgs)
   at System.Windows.Forms.Timer.OnTick(System.EventArgs)
   at System.Windows.Forms.Timer+TimerNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
   at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
   at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
   at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
   at MySQL.GUI.Workbench.Program.Main(System.String[])

Faulting application name: MySQLWorkbench.exe, version: 6.3.4.0, time stamp: 0x5575837b
Faulting module name: mysql.parser.dll, version: 0.0.0.0, time stamp: 0x55757e44
Exception code: 0xc0000005
Fault offset: 0x00019359
Faulting process ID: 0x1f00
Faulting application start time: 0x01d0f2ad5f6ae26e
Faulting application path: C:\Program Files (x86)\MySQL\MySQL Workbench 6.3 CE\MySQLWorkbench.exe
Faulting module path: C:\Program Files (x86)\MySQL\MySQL Workbench 6.3 CE\mysql.parser.dll
Report ID: 29226a5b-9bfb-4e35-a5f3-ddd3b9534252
Faulting package full name: 
Faulting package-relative application ID: 

How to repeat:
Occurs consistently when the cursor is placed just before "PaymentID" in the SQL provided (as private comment), and I hit ctrl + space.
[19 Sep 2015 19:11] MySQL Verification Team
Please provide the show create table output of the tables involved. Thanks.
[20 Oct 2015 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".
[10 Nov 2018 10:47] Piotr Dusiński
Aplikacja: MySQLWorkbench.exe
Wersja architektury: v4.0.30319
Opis: proces został przerwany z powodu nieobsłużonego wyjątku.
Informacje o wyjątku: System.AccessViolationException
   w <Module>.mforms.MenuItem.callback(mforms.MenuItem*)
   w MenuItemEventTarget.MenuItemClick(System.Object, System.EventArgs)
   w System.Windows.Forms.ToolStripItem.RaiseEvent(System.Object, System.EventArgs)
   w System.Windows.Forms.ToolStripMenuItem.OnClick(System.EventArgs)
   w System.Windows.Forms.ToolStripItem.HandleClick(System.EventArgs)
   w System.Windows.Forms.ToolStripItem.HandleMouseUp(System.Windows.Forms.MouseEventArgs)
   w System.Windows.Forms.ToolStripItem.FireEventInteractive(System.EventArgs, System.Windows.Forms.ToolStripItemEventType)
   w System.Windows.Forms.ToolStripItem.FireEvent(System.EventArgs, System.Windows.Forms.ToolStripItemEventType)
   w System.Windows.Forms.ToolStrip.OnMouseUp(System.Windows.Forms.MouseEventArgs)
   w System.Windows.Forms.ToolStripDropDown.OnMouseUp(System.Windows.Forms.MouseEventArgs)
   w System.Windows.Forms.Control.WmMouseUp(System.Windows.Forms.Message ByRef, System.Windows.Forms.MouseButtons, Int32)
   w System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
   w System.Windows.Forms.ScrollableControl.WndProc(System.Windows.Forms.Message ByRef)
   w System.Windows.Forms.ToolStrip.WndProc(System.Windows.Forms.Message ByRef)
   w System.Windows.Forms.ToolStripDropDown.WndProc(System.Windows.Forms.Message ByRef)
   w System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
   w System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
   w System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
   w System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
   w System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
   w System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
   w System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
   w System.Windows.Forms.Application.Run(System.Windows.Forms.ApplicationContext)
   w MySQL.GUI.Workbench.Program.Main(System.String[])