Bug #66312 Workbench crashes when openning second routine editor
Submitted: 10 Aug 2012 18:50 Modified: 10 Aug 2012 22:54
Reporter: Richard Anonymous Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S2 (Serious)
Version:5.2.39 Revision 8757 OS:Windows (XP)
Assigned to: CPU Architecture:Any
Tags: crash, editor, routine, workbench

[10 Aug 2012 18:50] Richard Anonymous
Description:
In the Model Overview one can double click on a routine and open an editor to modify that routine in a tab in the lower part of the screen. In the case a user will double click on another routine to open it for edit without closing the previous editor the Workbench will crash.

How to repeat:
1. open an existing ER Model or create a new one
2. in the Model Overview add/create 2 routines
3. double click on 1st routine so that it will open an editor in a tab
4. without closing the first editor, double click on the second routine to edit it

Result: second editor does not open in a tab but the entire workbench crashes

Suggested fix:
Ideally a second tab with the routine editor will open without crashing the Workbench.

or

If only 1 routine editor can be opened at a time then the first tab shall be closed and new opened with the latest routine for edit.
[10 Aug 2012 19:00] Valeriy Kravchuk
Please, check if the same problem still happens with a newer version, 5.2.41.
[10 Aug 2012 19:53] Richard Anonymous
It appears that with the version 5.2.41 Rev 9727 the problem with crashing the workbench got somehow fixed.
Though the behavior is such that none of the previously opened routines can be open again even after closing the editors tab and trying again to edit a routine, which is causing another error. See attached error message.
[10 Aug 2012 22:54] Alfredo Kojima
Duplicate of Bug #66013