Bug #58832 MySQL Workbench Unexpected Error
Submitted: 9 Dec 2010 5:58 Modified: 13 Dec 2010 13:38
Reporter: Parag Panda Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.2.31 OS:Windows (Vista Enterprise 32 bit)
Assigned to: Mike Lischke CPU Architecture:Any
Tags: scriting, shell, workbench

[9 Dec 2010 5:58] Parag Panda
Description:
When I launch the 'Workbench Scriting Shell' and try to type anything on the console window, it gives me the "Unexpected Error" window.
=========
Detailed Error message:
MySQL Workbench has encountered a problem.

Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
=========
then it asks me to report the bug

How to repeat:
1. Launch MySQL Workbench
2. From the Menu select 'Scripting' >> 'Scripting Shell'
3. Try to type in the 'Workbench Scriting Shell' window

Additional Info:
I recently updated the MySQL Workbench to 5.2.31
[9 Dec 2010 6:01] Parag Panda
error picture

Attachment: mysqlerror.jpg (image/pjpeg, text), 85.62 KiB.

[9 Dec 2010 13:25] Johannes Taxacher
Hello Parag,
can you right-click in that bug-window and select "copy stack to clipboard" then add that information to this report? Please also add the output of Workbenchs "Help->System Info" menuitem.
Thanks in advance
[9 Dec 2010 13:47] Parag Panda
Hello Johannes, Please find below the requested information. Rgds, Parag

Stack Flow
==========
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 mforms.TextBox.key_event(TextBox* , KeyCode , ModifierKey , basic_string<char\,std::char_traits<char>\,std::allocator<char> >* )
   at MySQL.Forms.TextBoxEx.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
   at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
   at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)

Help -> System Info
===================
MySQL Workbench CE for Windows version 5.2.31
Configuration Directory: C:\Users\pandap\AppData\Roaming\MySQL\Workbench
Data Directory: C:\Program Files\MySQL\MySQL Workbench 5.2 CE
Cairo Version: 1.8.8
Rendering Mode: OpenGL is available on this system, so OpenGL is used for rendering.
OpenGL Driver Version: 2.0.0 - Build 7.15.10.1652
OS: Microsoft Windows Vista Enterprise Edition Service Pack 2 (build 6002), 32-bit
CPU: 2x Intel(R) Core(TM)2 Duo CPU     T9600  @ 2.80GHz, 1.9 GiB RAM
Active video adapter: Mobile Intel(R) 4 Series Express Chipset Family
Installed video RAM: 796 MB
Current video mode: 1440 x 900 x 4294967296 colors
Used bit depth: 32
Driver version: 7.15.10.1652
Installed display drivers: igdumdx32.dll,igd10umd32.dll
Current user language: English (United States)
[9 Dec 2010 15:37] MySQL Verification Team
Thank you for the bug report. Verified on Vista 64-bit.
[10 Dec 2010 17:55] Mike Lischke
Fixed in repository.
[13 Dec 2010 12:34] Johannes Taxacher
fix confirmed in repository
[13 Dec 2010 13:38] Tony Bedford
An entry has been added to the 5.2.31 changelog:

Typing into the Workbench Scripting Shell resulted in an Unexpected Error:

MySQL Workbench has encountered a problem.

Attempted to read or write protected memory. This is often an indication that other
memory is corrupt.