Bug #52238 problem with protected memory
Submitted: 19 Mar 2010 23:21 Modified: 14 Apr 2010 7:21
Reporter: kc smith Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[19 Mar 2010 23:21] kc smith
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:
I have a script that I am using to create a database with multiple tables and multiple csv files to populate those tables.  for some reason the commas within fields are being read as separators even with the field being surrounded with double quotes.  Also I keep finding fields that are longer in the csv file then i have allotted in my table creation.  hence I keep getting a lot of errors, and then have to go into the script or the csv file to correct for them.  when i make a correction, i save and reload the script if i changed the script and rerun the script.  I have been doing it for hours now.
[20 Mar 2010 1:19] MySQL Verification Team
Thank you for the bug report. Probably duplicate bug report I just wasn't able to find it.
[22 Mar 2010 21:31] Johannes Taxacher
maybe related to Bug #49694
[14 Apr 2010 7:21] Sergei Tkachenko
Duplicate of the bug #51815.