Bug #70786 MySQL Workbench editor uses up all memory and crashes
Submitted: 31 Oct 2013 12:44 Modified: 12 Nov 2013 12:57
Reporter: Halil –zgr Email Updates:
Status: Unsupported Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S1 (Critical)
Version:6.0.7 OS:Linux (Ubuntu 13.10 AMD64 )
Assigned to: CPU Architecture:Any

[31 Oct 2013 12:44] Halil –zgr
Description:
I've first tried the one in the official apt repository (5.2.47+dfsg-2). It was using up all the memory in the editor pane as soon as I first hit Ctrl+Space in order to get auto complete. I've removed it and tried the one at MySQL downloads (6.0.7). It crashes the same way (as soon as it opens that last saved editor pane).

Command line output
-------------------
$ mysql-workbench
Ready.

(mysql-workbench-bin:22039): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeModel) to class (gtkmm__CustomObject_13GridViewModel) after class_init

(mysql-workbench-bin:22039): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeDragDest) to class (gtkmm__CustomObject_13GridViewModel) after class_init

(mysql-workbench-bin:22039): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeDragSource) to class (gtkmm__CustomObject_13GridViewModel) after class_init

(mysql-workbench-bin:22039): GLib-GObject-WARNING **: Attempt to add property gtkmm__CustomObject_14CustomRendererIN3Gtk16CellRendererSpinEN4Glib7ustringEiE::pixbuf after class was initialised

(mysql-workbench-bin:22039): GLib-GObject-WARNING **: Attempt to add property gtkmm__CustomObject_14CustomRendererIN3Gtk16CellRendererSpinEN4Glib7ustringEiE::text after class was initialised

(mysql-workbench-bin:22039): GLib-GObject-WARNING **: Attempt to add property gtkmm__CustomObject_14CustomRendererIN3Gtk16CellRendererSpinEN4Glib7ustringEiE::editable after class was initialised

(mysql-workbench-bin:22039): GLib-GObject-WARNING **: Attempt to add property gtkmm__CustomObject_14CustomRendererIN3Gtk16CellRendererTextEN4Glib7ustringES3_E::pixbuf after class was initialised

(mysql-workbench-bin:22039): GLib-GObject-WARNING **: Attempt to add property gtkmm__CustomObject_14CustomRendererIN3Gtk16CellRendererTextEN4Glib7ustringES3_E::text after class was initialised

(mysql-workbench-bin:22039): GLib-GObject-WARNING **: Attempt to add property gtkmm__CustomObject_14CustomRendererIN3Gtk16CellRendererTextEN4Glib7ustringES3_E::editable after class was initialised
Killed

syslog
------
Oct 31 13:07:59 HALILPC-U kernel: [16976.892508] Out of memory: Kill process 18733 (mysql-workbench)
 score 524 or sacrifice child
Oct 31 13:07:59 HALILPC-U kernel: [16976.892513] Killed process 18733 (mysql-workbench) total-vm:556
8860kB, anon-rss:3181120kB, file-rss:0kB

How to repeat:
1. Install MySQL Workbench
2. Add a connection and open an editor on it
3. Write "SELECT * FRO" and hit Ctrl+Space
[31 Oct 2013 17:30] MySQL Verification Team
I could not repeat please provide the output of Help->System Info?

MySQL Workbench Community (GPL) for Linux/Unix version 6.0.7  revision 11215
Configuration Directory: /home/miguel/.mysql/workbench
Data Directory: /usr/share/mysql-workbench
Cairo Version: 1.12.16
OS: Linux 3.11.0-12-generic
CPU: AMD Phenom(tm) 9650 Quad-Core Processor 2281.786 MHz, 1,5 GB RAM
Distribution: Ubuntu 13.10
[4 Nov 2013 16:05] Halil –zgr
MySQL Workbench System Info:
----------------------------
MySQL Workbench Community (GPL) for Linux/Unix version 6.0.7  revision 11215
Configuration Directory: /home/halil/.mysql/workbench
Data Directory: /usr/share/mysql-workbench
Cairo Version: 1.12.16
OS: Linux 3.11.0-12-generic
CPU: 4x Intel(R) Core(TM)2 Quad CPU    Q8200  @ 2.33GHz 2000.000 MHz, 3,9 GB RAM
Distribution: Ubuntu 13.10
[11 Nov 2013 16:38] MySQL Verification Team
Please try version 6.0.8. Thanks.
[11 Nov 2013 18:02] Halil –zgr
It's the same...

Nov 11 19:59:38 HALILPC-U kernel: [35263.364150] [31752]  1000 31752     4482        0      12       56             0 mysql-workbench
Nov 11 19:59:38 HALILPC-U kernel: [35263.364153] [31754]  1000 31754     1110        0       8       27             0 catchsegv
Nov 11 19:59:38 HALILPC-U kernel: [35263.364156] [31757]  1000 31756  2002370   816725    3483   839671             0 dconf worker
Nov 11 19:59:38 HALILPC-U kernel: [35263.364159] Out of memory: Kill process 31757 (dconf worker) score 805 or sacrifice child
Nov 11 19:59:38 HALILPC-U kernel: [35263.364163] Killed process 31757 (dconf worker) total-vm:8009480kB, anon-rss:3266808kB, file-rss:92kB
[12 Nov 2013 12:01] Alfredo Kojima
What's dconf worker?
[12 Nov 2013 12:06] Alfredo Kojima
Please try building WB for Ubuntu 13.10 by yourself, maybe it will work better. Our packages don't support 13.10 yet.
[12 Nov 2013 12:57] Halil –zgr
dconf worker was in the syslog, I don't really know what it is.

I'm not a regular source builder and hence I couldn't get the build working as per instructions at http://mysqlworkbench.org/contribute/mysql-workbench-linux-build-instructions/ for mysql-workbench-community-6.0.8-nodocs-src.tar.gz (Generic Linux (Architecture Independent)).
[27 Feb 2014 2:52] William Vogel
I'm having the same problem, version:
MySQL Workbench CE (GPL) 6.0.9 11421  build 1170