Bug #56230 Trying read or write in protected memory
Submitted: 24 Aug 2010 19:46 Modified: 9 Oct 2010 3:03
Reporter: Daniel Lima Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:5.2.26 CS OS:Any
Assigned to: CPU Architecture:Any
Tags: Refresh; Query

[24 Aug 2010 19:46] Daniel Lima
Description:
When I press de refresh button in the result of query, gave me this message.

Trying read or write in protected memory

"We are sorry for the inconvenience but an unexpected exception has been raised by one of the MySQL Workbench modules. In order to fix this issue we would kindly ask you to file a bug report. You can do that by pressing the [Report Bug] button below. 

Please make sure to include a detailed description of your actions that lead to this problem.

Thanks a lot for taking the time to help us improve MySQL Workbench!

The MySQL Workbench Team"

How to repeat:
Trying read or write in protected memory
[24 Aug 2010 19:54] Sveta Smirnova
Thank you for the report.

I can not repeat described behavior. Please try latest version 5.2.26 and if problem still exists provide step-by-step instructions how to repeat the problem: do you connect to local or remote server, which table do you query, which query do you use, how many rows it returns.
[25 Aug 2010 12:09] Daniel Lima
Good Morning Sveta

I already use the version 5.2.26CE in my PC.

The bug occurs when I give a refresh in the first time that I execute Query.
After that I realize the Query again and press Refresh button and the Bug don't occurs. It's only the first time when I press the refresh button.

But this bug don't disrupts my Job.

I liked so much this new version.

I put the Mysql and the tools as the best I have ever used.

Very good.

Thank you for your attention.

Have a nice day.

Daniel
[25 Aug 2010 13:38] Valeriy Kravchuk
Please, send the results of Help > System Info menu item.
[25 Aug 2010 14:06] Daniel Lima
MySQL Workbench CE for Windows version 5.2.26

Data Directory: C:\Arquivos de programas\MySQL\MySQL Workbench 5.2 CE

Cairo Version: 1.8.8

Rendering Mode: OpenGL is not available on this system, so GDI is used for rendering.

OS: Microsoft Windows XP Professional Service Pack 3 (build 2600)

CPU: 2x Intel(R) Core(TM)2 Duo CPU     E7400  @ 2.80GHz, 3.0 GiB RAM

Video adapter info:

Adapter type: Intel(R) G33/G31 Express Chipset Family

Chip Type: Intel(R) GMA 3100

BIOS String: Intel Video BIOS

Video Memory: 393216 KB
[25 Aug 2010 16:17] Sveta Smirnova
Daniel,

thank you for the feedback. I could not repeat the problem using test query on test table. Please clarify:

- do you connect to local or remote server
- which table do you query (output of SHOW CREATE TABLE)
- which query do you use
- how many rows it returns.
[25 Aug 2010 18:25] Daniel Lima
Hi Sveta

I connect using a remote server.

I use SHOW CREATE TABLE

I use JOIN and return me 1000 rows that is default

And I noted one think, when I do a query and press ctrl+shift+enter return me the results, and I wait over 15, after that I click on the refresh button and the error occurs.

Daniel
[25 Aug 2010 18:26] Daniel Lima
Hi Sveta

I connect using a remote server.

I use SHOW CREATE TABLE

I use JOIN and return me 1000 rows that is default

And I noted one think, when I do a query and press ctrl+shift+enter return me the
results, and I wait over 15 seconds, after that I click on the refresh button and the error
occurs.

Daniel
[25 Aug 2010 18:31] Daniel Lima
Error Workbench 5.2.26CE when the refresh button is pressed

Attachment: bug_workbench 5.2.26CE.JPG (image/jpeg, text), 280.76 KiB.

[25 Aug 2010 18:33] Sveta Smirnova
Thank you for the feedback.

Please send us JOIN query used and output of SHOW CREATE TABLE for each underlying table.
[25 Aug 2010 18:47] Daniel Lima
I'm sending the image with the query and the results..

Daniel
[25 Aug 2010 18:47] Daniel Lima
Error Workbench 5.2.26CE when the refresh button is pressed

Attachment: bug_workbench 5.2.26CE_2.JPG (image/jpeg, text), 343.41 KiB.

[30 Aug 2010 19:28] Alfredo Kojima
When the error occurs, please right click the bold text in the dialog and select the option to copy the stack trace to the clipboard and paste it to the bug report. Thanks.
[1 Sep 2010 12:07] Daniel Lima
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 MySQL.Grt.ListModel.get_field_icon(NodeId node, Int32 column, IconSize size)
   em MySQL.Utilities.GridView.OnCellPainting(Object sender, DataGridViewCellPaintingEventArgs e)
   em System.Windows.Forms.DataGridViewCellPaintingEventHandler.Invoke(Object sender, DataGridViewCellPaintingEventArgs e)
   em System.Windows.Forms.DataGridView.OnCellPainting(DataGridViewCellPaintingEventArgs e)
   em System.Windows.Forms.DataGridViewCell.PaintWork(Graphics graphics, Rectangle clipBounds, Rectangle cellBounds, Int32 rowIndex, DataGridViewElementStates cellState, DataGridViewCellStyle cellStyle, DataGridViewAdvancedBorderStyle advancedBorderStyle, DataGridViewPaintParts paintParts)
   em System.Windows.Forms.DataGridViewRow.PaintCells(Graphics graphics, Rectangle clipBounds, Rectangle rowBounds, Int32 rowIndex, DataGridViewElementStates rowState, Boolean isFirstDisplayedRow, Boolean isLastVisibleRow, DataGridViewPaintParts paintParts)
   em System.Windows.Forms.DataGridViewRow.Paint(Graphics graphics, Rectangle clipBounds, Rectangle rowBounds, Int32 rowIndex, DataGridViewElementStates rowState, Boolean isFirstDisplayedRow, Boolean isLastVisibleRow)
   em System.Windows.Forms.DataGridView.PaintRows(Graphics g, Rectangle boundingRect, Rectangle clipRect, Boolean singleHorizontalBorderAdded)
   em System.Windows.Forms.DataGridView.PaintGrid(Graphics g, Rectangle gridBounds, Rectangle clipRect, Boolean singleVerticalBorderAdded, Boolean singleHorizontalBorderAdded)
   em System.Windows.Forms.DataGridView.OnPaint(PaintEventArgs e)
   em System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
   em System.Windows.Forms.Control.WmPaint(Message& m)
   em System.Windows.Forms.Control.WndProc(Message& m)
   em System.Windows.Forms.DataGridView.WndProc(Message& m)
   em System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   em System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   em System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
[9 Sep 2010 3:03] MySQL Verification Team
Please try version 5.2.27. Thanks in advance.
[9 Oct 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".