Bug #66111 Workbench closes while writing a sentence in the SQL Editor or a Routine in the
Submitted: 31 Jul 2012 10:37 Modified: 27 Jun 2013 1:03
Reporter: Roni Gonzalez Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S2 (Serious)
Version:5.2.41 OS:Linux (Linux 3.2.0-27-generic-pae)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[31 Jul 2012 10:37] Roni Gonzalez
Description:
Workbench closes while writing a sentence in the SQL Editor or a Routine in the Model, it looks like this is becouse the intellisense makes a bad operation .. 

----- Developer Notes -----

MySQL Workbench CE for Linux/Unix version 5.2.41  revision 9727
Configuration Directory: /home/rgk/.mysql/workbench
Data Directory: /usr/share/mysql-workbench
Cairo Version: 1.10.2
OS: Linux 3.2.0-27-generic-pae
CPU: 4x Intel(R) Core(TM) i5 CPU       M 520  @ 2.40GHz 2400.000 MHz, 3,8 GB RAM
Distribution: Ubuntu 12.04 LTS

How to repeat:
Have a Big model with many Diagrams,
maybe a memory comsumption problem.
just edit a procedure or write statments and comments in the code.
[16 Aug 2012 18:49] Armando Lopez Valencia
Thanks for your report Roni.
Can you please share with us a copy of the Model that you are using to reproduce this?
Thanks.
[17 Aug 2012 6:12] Roni Gonzalez
Hi Armando,
currently I have the auto-completation ( intellisense ) disabled. The problem occours when this feature is enabled.

to reproduce :
Enable auto-completation, and edit a stored procedure using also back space and re-writing faster valid sentences.

Thanks !
best regards, 
Roni.
[21 Aug 2012 15:10] Armando Lopez Valencia
Thanks Roni.
Reproduced as reported:
Verified in:
Ubuntu 12.04x64
WB 5.2.42 rev9750

Terminal:
armando@ubuntu12:~$ mysql-workbench
Initializing AdvancedSidebar factory method
Initializing mforms factory
Creating WBOptions
Ready.

** Message: overview.home built-in command is being overwritten
Assertion [cpMax <= pdoc->Length()] failed at ../src/Editor.cxx 7369
Aborted (core dumped)
[5 Sep 2012 18:36] Vinicius Pires
Same with another 2 computers here.

300+ tables database, editing a query with autocompletion enabled, Linux Ubuntu 12.04.

Console Output:
 Initializing AdvancedSidebar factory method
 Initializing mforms factory
 Creating WBOptions
 Ready.

 ** Message: overview.home built-in command is being overwritten
 Assertion [cpMax <= pdoc->Length()] failed at ../src/Editor.cxx 7369
 Aborted (core dumped)
[27 Jun 2013 1:03] Philip Olson
Fixed as of the MySQL Workbench 5.2.47 release, and here's the changelog entry:

With auto-completion enabled, editing text in the SQL editor for a model
could close MySQL Workbench.

Thank you for the bug report.