Bug #61365 Error restoring workspace
Submitted: 31 May 2011 16:52 Modified: 29 Nov 2011 16:20
Reporter: David Lopez Zajara Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:5.2.34 CE OS:Windows (Windows 7 x86_64)
Assigned to: CPU Architecture:Any

[31 May 2011 16:52] David Lopez Zajara
Description:
I doesn't know if the error are restoring any file or only big ones.

When i trying to open a connection to SQL Editor, an alert appears: "Saved scratch buffer '1.scratch' is bigger than 4.77MiB (46.67MiB), would you like to restore it anyway?"

If hit "cancel" the program crashes automatically. If hit on "restore", the SQL Editor opens with the file, but some time after click on the tab to close them, appears another error and the program crashes.

After re-opening the workbench, appears to be orphaned documents on the editor. But when open these workspace all are clean. (But these result are on the third or four retry).

Note: Before the last retry, i've opened the workbench as Administrator (UAC). Then, on the console i can read "Orphaned documents changes detected", but after open the connection these documents doesn't appears. Also, after several restarts of the application (as user-admin and as admin-UAC), the message are here already, but dissapears on-the-run when open these connection (then doesnt show any error). Restarting the application the message appears one more time.

How to repeat:
I think the error are from the recovered file size. If the workbench crashes with a file of these size or more, you can repeat the error.
[31 May 2011 17:56] MySQL Verification Team
Thank you for the bug report.
[29 Nov 2011 16:20] Philip Olson
Fixed as of 5.2.36:
+        &workbench; could crash while restoring large files.