Bug #66522 MySQL Workbench Crashes while editing SQL in editor
Submitted: 24 Aug 2012 8:58 Modified: 14 Jun 2013 23:11
Reporter: J Robinson Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S1 (Critical)
Version:5.2.42-1 OS:Linux (Fedora 17)
Assigned to: CPU Architecture:Any
Tags: crash, editor, Fedora, linux, workbench

[24 Aug 2012 8:58] J Robinson
Description:
After connecting to a database and typing a few characters into the SQL editor, MySQL workbench crashes (closes completely).

How to repeat:
1. Create a database connection (root on mysql schema is sufficient)
2. Connect to the database (just double click from list of connections)
3. In the newly opened SQL editor tab, start writing a query, "SELECT * FROM ..."

After typing a few characters, it will crash and the MySQL Workbench window disappears.
[27 Aug 2012 12:25] J. W.
I can confirm I also see this bug. It makes using mysql-workbench impossible.
[27 Aug 2012 20:11] Rene Reitsma
Yup,  same here... version 5.2.42 rev. 9752 running on FC17

Guaranteed way of killing it: type: create t
[27 Aug 2012 20:54] Yan Besidski
Same for me

Open a edit panel, type one letter, wait 2-3sec, app closes on its own

OS: Fedora 17
MySQL version: 5.2.42, revision 9752
[27 Aug 2012 22:05] Yan Besidski
Workaround found:

start SQL Workbench, 

go edit/preferences/sql editor

and disable auto completion
[27 Aug 2012 22:22] MySQL Verification Team
http://bugs.mysql.com/bug.php?id=66557 marked as duplicate of this one.
[28 Aug 2012 10:06] Paolo Bernardi
Thanks Yan! 

Your workaround saved me! :)
[28 Aug 2012 21:21] Lorenzo Lopez
Thank you!!! Yan
[31 Aug 2012 14:59] MySQL Verification Team
Thank you for the bug report.
[3 Sep 2012 11:47] MySQL Verification Team
http://bugs.mysql.com/bug.php?id=66661 marked as duplicate of this one.
[3 Sep 2012 13:33] MySQL Verification Team
http://bugs.mysql.com/bug.php?id=66635 marked as duplicate of this one.
[3 Sep 2012 23:48] lala ala
same on me
[3 Jun 2013 21:32] Alfredo Kojima
Are you using the official packages or Fedora packages?
[5 Jun 2013 8:48] J Robinson
In response to Alfredo Kengi Kojima, I was using the Fedora packages installed via yum. It would have been mysql-workbench-5.2.42-1.fc17.x86_64.

I have since upgraded both Linux and mysqlwork bench to Fedora 18 (kernel 3.9.4-200.fc18.x86_64) and mysql-workbench-5.2.47-2.fc18.x86_64 respectively. It's no longer a problem by default because the auto-complete functionality seems to have been permanently disabled, i.e. the checkbox at Edit > Preferences > SQL Editor - Productivity - "Enable Code Completion in Editors" is greyed-out and cannot be selected.
[14 Jun 2013 23:11] Alfredo Kojima
This is a bug in the Fedora packages. It ships a buggy version of a library WB depends on, which will cause the crash.