Bug #87522 Crash on search inside diagram
Submitted: 24 Aug 2017 7:21 Modified: 20 Mar 2018 18:54
Reporter: Firdaus Khamdamov Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:6.3.9 OS:Windows (7 64bit)
Assigned to: CPU Architecture:Any

[24 Aug 2017 7:21] Firdaus Khamdamov
Description:
Workbench is crashing when I type some text (which there is no inside diagram) in searchbox(upper right, on diagram section)  and press "Enter" key double time;

How to repeat:
Workbench is crashing when I type some text (which there is no inside diagram) in searchbox(upper right, on diagram section)  and press "Enter" key double time;
[24 Aug 2017 8:11] MySQL Verification Team
Hello Firdaus,

Thank you for the report and feedback.
Verified as described with WB 6.3.9 on Win7.

Thanks,
Umesh
[24 Aug 2017 8:14] MySQL Verification Team
###

C:\Program Files\MySQL\MySQL Workbench 6.3 CE>MySQLWorkbench.exe -log-level=debug3

C:\Program Files\MySQL\MySQL Workbench 6.3 CE>
Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indi
cation that other memory is corrupt.
   at wb.ModelDiagramForm.search_and_focus_object(ModelDiagramForm* , basic_string<char\,std::char_traits<char>\,std::al
locator<char> >* )
   at MySQL.Workbench.WbContext.try_searching_diagram(String text)
   at MySQL.GUI.Workbench.MainForm.EditFind()
   at boost.detail.function.void_function_invoker0<void (__cdecl*)(void),void>.invoke(function_buffer* function_ptr)
   at boost.function0<void>.()(function0<void>* )
   at mforms.ToolBarItem.callback(ToolBarItem* )
   at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
   at System.Windows.Forms.Control.WmKeyChar(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.TextBox.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FP
ushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at MySQL.GUI.Workbench.Program.Main(String[] Args)

C:\Program Files\MySQL\MySQL Workbench 6.3 CE>

###

'MySQLWorkbench.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Cannot find or open the PDB file.
'MySQLWorkbench.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Files\MySQL\MySQL Workbench 6.3 CE\MySQLWorkbench.exe'. Cannot find or open the PDB file.
'MySQLWorkbench.exe' (CLR v4.0.30319: MySQLWorkbench.exe): Loaded 'C:\Program Files\MySQL\MySQL Workbench 6.3 CE\wbprivate.wr.dll'. Cannot find or open the PDB file.
'MySQLWorkbench.exe' (CLR v4.0.30319: MySQLWorkbench.exe): Loaded 'C:\Program Files\MySQL\MySQL Workbench 6.3 CE\mforms.wr.dll'. Cannot find or open the PDB file.
'MySQLWorkbench.exe' (CLR v4.0.30319: MySQLWorkbench.exe): Loaded 'C:\Program Files\MySQL\MySQL Workbench 6.3 CE\base.wr.dll'. Cannot find or open the PDB file.
'MySQLWorkbench.exe' (CLR v4.0.30319: MySQLWorkbench.exe): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll'. Cannot find or open the PDB file.
'MySQLWorkbench.exe' (CLR v4.0.30319: MySQLWorkbench.exe): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll'. Cannot find or open the PDB file.
'MySQLWorkbench.exe' (CLR v4.0.30319: MySQLWorkbench.exe): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Cannot find or open the PDB file.
'MySQLWorkbench.exe' (CLR v4.0.30319: MySQLWorkbench.exe): Loaded 'C:\Program Files\MySQL\MySQL Workbench 6.3 CE\wbpublic.wr.dll'. Cannot find or open the PDB file.
'MySQLWorkbench.exe' (CLR v4.0.30319: MySQLWorkbench.exe): Loaded 'C:\Program Files\MySQL\MySQL Workbench 6.3 CE\sqlide.fe.dll'. Cannot find or open the PDB file.
A first chance exception of type 'System.Threading.WaitHandleCannotBeOpenedException' occurred in mscorlib.dll
'MySQLWorkbench.exe' (CLR v4.0.30319: MySQLWorkbench.exe): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Remoting\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Remoting.dll'. Cannot find or open the PDB file.
'MySQLWorkbench.exe' (CLR v4.0.30319: MySQLWorkbench.exe): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Cannot find or open the PDB file.
'MySQLWorkbench.exe' (CLR v4.0.30319: MySQLWorkbench.exe): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'. Cannot find or open the PDB file.
'MySQLWorkbench.exe' (CLR v4.0.30319: MySQLWorkbench.exe): Loaded 'C:\Program Files\MySQL\MySQL Workbench 6.3 CE\Aga.Controls.dll'. Cannot find or open the PDB file.
'MySQLWorkbench.exe' (CLR v4.0.30319: MySQLWorkbench.exe): Loaded 'C:\Program Files\MySQL\MySQL Workbench 6.3 CE\WBControls.dll'. Cannot find or open the PDB file.
'MySQLWorkbench.exe' (CLR v4.0.30319: MySQLWorkbench.exe): Loaded 'C:\Program Files\MySQL\MySQL Workbench 6.3 CE\base.windows.dll'. Cannot find or open the PDB file.
'MySQLWorkbench.exe' (CLR v4.0.30319: MySQLWorkbench.exe): Loaded 'C:\Program Files\MySQL\MySQL Workbench 6.3 CE\WbPlugins.dll'. Cannot find or open the PDB file.
'MySQLWorkbench.exe' (CLR v4.0.30319: MySQLWorkbench.exe): Loaded 'C:\Program Files\MySQL\MySQL Workbench 6.3 CE\HtmlRenderer.dll'. Cannot find or open the PDB file.
'MySQLWorkbench.exe' (CLR v4.0.30319: MySQLWorkbench.exe): Loaded 'C:\Program Files\MySQL\MySQL Workbench 6.3 CE\MySQLCsUtilities.dll'. Module was built without symbols.
A first chance exception of type 'System.AccessViolationException' occurred in wbprivate.wr.dll
The program '[9372] MySQLWorkbench.exe' has exited with code 0 (0x0).
[12 Sep 2017 4:02] Leo Coroneos
It happened to me today too; I was attempting to load a new SQL script and the Visual Studio Just-In-Time debugger started up and said: "mforms.wr.pdb could not be found in the selected paths."

Would be keen to hear what it means (plain-English please) and what can be done to prevent the problem happening in the future.
[20 Mar 2018 18:54] Christine Cole
Posted by developer:
 
Fixed as of the upcoming MySQL Workbench 8.0.11 release, and here's the changelog entry:

When typing text in the search box related to an EER diagram, MySQL
Workbench became unresponsive or exited unexpectedly.

Thank you for the bug report.