Bug #63841 | Workbench crashes on opening existing EER model after file open failure | ||
---|---|---|---|
Submitted: | 22 Dec 2011 15:15 | Modified: | 2 Feb 2012 21:17 |
Reporter: | Stevo Slavic | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench: Modeling | Severity: | S3 (Non-critical) |
Version: | 5.2.36, 5.2.37 | OS: | Windows |
Assigned to: | CPU Architecture: | Any |
[22 Dec 2011 15:15]
Stevo Slavic
[22 Dec 2011 19:03]
Valeriy Kravchuk
Looks related to bug #62589 (crash part).
[26 Dec 2011 10:35]
MySQL Verification Team
Are you able to provide the stack trace?. Thanks.
[26 Dec 2011 10:55]
Stevo Slavic
How do I do that? Does MySQL Workbench have some log files? I couldn't find one. It's extremely easy to reproduce this issue. Just try opening any non-MySQL Workbench file using MySQL Workbench. It will try to open that file, report that it can not. And then in same MySQL Workbench session try opening a valid MySQL Workbench model from the list of existing previously known MySQL Workbench models. MySQL Workbench will report that "Opening another model will close the currently open model." and confirming here will crash MySQL Workbench. Problem is, that opening invalid non-MySQL Workbench files seems to leave MySQL Workbench in invalid state (state where operation for opening model thinks there is a model already open), so if after that one tries to open valid model file, MySQL Workbench will report that there is model open and ask for confirmation to close it, and once confirmed MySQL Workbench will crash, probably when trying to close something that is not open, or pointing to invalid resource. Please fix handling of opening non-MySQL Workbench files not to make/leave MySQL Workbench in invalid state, so that regular MySQL Workbench files can be opened afterwards without restarting MySQL Workbench.
[27 Dec 2011 10:32]
Valeriy Kravchuk
Verified just as described in your last comment with recent 5.2.37 on Windows XP.
[2 Feb 2012 21:17]
Philip Olson
Fixed as of 5.2.38: Workbench would crash while opening an existing EER model, after a file failed to open.