Bug #52035 Pressed CTRL+S in sql script window and encountered exception
Submitted: 13 Mar 2010 18:49 Modified: 13 Apr 2010 20:26
Reporter: Sushil Sharma Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S2 (Serious)
Version:5.2.16 OSS Beta OS:Windows (Windows 7 x64)
Assigned to: CPU Architecture:Any
Tags: Attempted to read or write protected memory

[13 Mar 2010 18:49] Sushil Sharma
Description:
Exception = System.AccessViolationException
Message = Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
FullText = System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at Sql_editor.check_sql(Sql_editor* , shared_ptr<Sql_editor>* , Boolean )
   at MySQL.Grt.Db.Sql.Sql_editor.check_sql()
   at MySQL.Grt.Db.Sql.SqlEditor.CheckSyntax()
   at MySQL.Grt.Db.Sql.SqlEditor.BackgroundActionTimer(Object obj, EventArgs args)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

How to repeat:
Run MySQL Workbench in normal way (not as a Windows 7 administrator), press CTRL+S intermittently in sql script editor/executor.

Suggested fix:
investigate the issue and apply appropriate fix.
[13 Mar 2010 20:26] MySQL Verification Team
Thank you for the bug report. Could you please provide the sq
[13 Mar 2010 20:27] MySQL Verification Team
Thank you for the bug report. Could you please provide the sql script are you uising?. Thanks in advance.
[13 Apr 2010 23: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".