Bug #51503 Error executing a query
Submitted: 25 Feb 2010 13:49 Modified: 8 Mar 2010 13:47
Reporter: Marcelo Zucareli Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:5.2.16 OS:Windows
Assigned to: CPU Architecture:Any
Tags: error query execute

[25 Feb 2010 13:49] Marcelo Zucareli
Description:
Exception = System.AccessViolationException
Message = Tentativa de leitura ou gravação em memória protegida. Normalmente, isso é uma indicação de que outra memória está danificada.
FullText = System.AccessViolationException: Tentativa de leitura ou gravação em memória protegida. Normalmente, isso é uma indicação de que outra memória está danificada.
   em Sql_editor.check_sql(Sql_editor* , shared_ptr<Sql_editor>* , Boolean )
   em MySQL.Grt.Db.Sql.Sql_editor.check_sql()
   em MySQL.Grt.Db.Sql.SqlEditor.CheckSyntax()
   em MySQL.Grt.Db.Sql.SqlEditor.BackgroundActionTimer(Object obj, EventArgs args)
   em System.Windows.Forms.Timer.OnTick(EventArgs e)
   em System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   em System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

How to repeat:
When i executed a query, this error happened, but when I did it again, worked fine. The message says that have a read or write of a protected memory, or a damaged memory.

Suggested fix:
[26 Feb 2010 7:44] Susanne Ebrecht
Did you already tried to check your disk?
[8 Mar 2010 13:47] Sergei Tkachenko
Duplicate of the bug #51815