Bug #64611 workbench crash when forward engineering a database create script
Submitted: 10 Mar 2012 17:40 Modified: 27 Mar 2012 5:51
Reporter: rabbit wkx Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S2 (Serious)
Version:5.2.38 OS:Any (Microsoft Windows 7 Ultimate Edition Service Pack 1 (build 7601), 32-bit, Mac OS X)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[10 Mar 2012 17:40] rabbit wkx
Description:
I have over 80 tables, when forward engineering or right click some table and select 'copy sql to clipboard', the mysql workbench just crashes.
Here is the windows's application log:
Application: MySQLWorkbench.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 77972D37
Stack

Another kind of log is like this:
 MySQLWorkbench.exe 
   5.2.38.8753 
   4f43fc17 
   ntdll.dll 
   6.1.7601.17514 
   4ce7b96e 
   c0000005 
   00052d37 
   12ac 
   01ccfee35e43b72b 
   D:\Program Files\MySQL\MySQL Workbench 5.2 CE\MySQLWorkbench.exe 
   C:\Windows\SYSTEM32\ntdll.dll 
   a0c14ad9-6ad6-11e1-9a7e-6c626ded91f1 

How to repeat:
I can send you my datamodel.mwb  for you, what's your email address?
[10 Mar 2012 17:44] rabbit wkx
bak file

Attachment: data_model.mwb.bak (application/octet-stream, text), 95.62 KiB.

[10 Mar 2012 18:26] Valeriy Kravchuk
Please, upload your problematic .mwb file to this bug report using Files tab.
[12 Mar 2012 14:09] rabbit wkx
My mwb file has already uploaded.
[12 Mar 2012 14:35] Valeriy Kravchuk
5.2.38 on Mac OS X 10.5.6 just hangs on both copy SQL and froward engineer attempts with your .mwb file uploaded. Obviously we have a bug.
[27 Mar 2012 5:51] Philip Olson
Fixed as of 5.2.39, and the changelog entry is as follows:

Copying SQL to the clipboard could cause Workbench to hang or
crash if the table comments contained Unicode characters that
exceeded the buffer size.