Bug #41524 Workbench hangs when trying to add a relation during save
Submitted: 16 Dec 2008 23:50 Modified: 21 Jan 2009 14:27
Reporter: Gabriele Tozzi Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.0.29 OS:Microsoft Windows
Assigned to: CPU Architecture:Any

[16 Dec 2008 23:50] Gabriele Tozzi
Description:
When you try to add a new 1:n relation (maybe it applies to other kind of relations too) during save, the program hangs.

How to repeat:
1. Take a slow machine
2. Create a complex model, so saving it will require at least some seconds
4. Create an ERR diagram and go to it
5. Modify a table as you like, an asterisk on the title bar now indicates that they are pending modifies to be saved.
6. Click the "save" button
7. Click the "Place new 1:n non identifying relation button" and then click a table before the asterisk in the title bar has disappeared
8. Workbench is now stuck.

Suggested fix:
No idea, the simplest fix should be disabling all buttons until save is completed.
[17 Dec 2008 10:42] Valeriy Kravchuk
Thank you for a problem report. Please, try to repeat with a newer version, 5.0.29. In case of the same problem, please, upload some complex model that gives you a hang.
[18 Dec 2008 6:22] Gabriele Tozzi
I've just checked, I can confirm this for 5.0.29 too.
I'm sorry but I didn't obtained permission from the owner of uploading the very large model I'm using to reproduce this bug.

Anyway, it should happen with any model, the large model is required only to increase required time for save and letting you push the relation button before save is completed.

Testing it on a slow machine (or maybe an intentionally slowed down virtual machine) should sort the same effect.
[18 Dec 2008 10:24] Susanne Ebrecht
Please check here: http://dev.mysql.com/workbench/?page_id=30

If your hardware reach this minimum of hardware requirements.
[20 Dec 2008 8:54] Gabriele Tozzi
My hardware doesn't meets minimum requirements (it lacks OpenGL 1.5 support), however, staying to what it's said, I should experience only performance slowdowns instead of software hangs/crashes.
[21 Dec 2008 14:27] MySQL Verification Team
Thank you for the feedback. Could you please install OpenGL 1.5 and try again.
[22 Jan 2009 0: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".