Bug #71558 mysql workbench crashes upon startup segmentation fault (due to profile data)
Submitted: 2 Feb 2014 9:13 Modified: 25 Mar 2014 13:56
Reporter: Rob Wilmshurst Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:6.0.8 OS:Linux (opensuse 13.1 64-bit)
Assigned to: CPU Architecture:Any
Tags: crash, segmentation, startup, workbench

[2 Feb 2014 9:13] Rob Wilmshurst
Description:
MySQL Workbench CE (GPL) 6.0.8 11354  build 833 on opensuse 13.1 64-bit

Previously working fine, configured a connection and some preferences through workbench menus. Then got to a stage that it gave a segmentation fault on startup.

Eventually discovered that renaming the ~/.mysql/workbench/ folder allowed workbench to start up correctly. So it seems workbench is saving invalid profile data for itself.

Stack trace attached.

How to repeat:
Launch workbench with existing ~/.mysql/workbench/ folder in place.
[2 Feb 2014 9:14] Rob Wilmshurst
stack trace

Attachment: wb stack trace.txt (text/plain), 104.26 KiB.

[14 Feb 2014 14:19] Marcin Szalowicz
Can you please provide the model files that were shown in the home screen?
You can find that files when you open wb_options.xml file and then at the end you should notice a value tag with attribute named key and value recentFiles.
[14 Feb 2014 22:17] Rob Wilmshurst
The recentFiles section has

    <value _ptr_="0x42bc170" type="list" content-type="string" key="recentFiles">
      <value type="string">/home/RJW/XXX.sql</value>
      <value type="string">/home/RJW/XXX2.sql</value>
      <value type="string">/usr/share/mysql-workbench/extras/sakila_full.mwb</value>
    </value>

I've replaced XXX for the two file names as they're my own SQL files. The first was something I used briefly and the current contents seems just to be a semicolon (believed I had a select that I copied to another file). Second file has a series of sql statements. Neither of these are really "model" files as they are just a series of saved SQL statements. The sakila_full.mwb does exist on my system, owned by root, read only to other users, don't believe I have every opened this myself. I've not saved any .mwb files myself.

Hope that helps.
[17 Feb 2014 14:50] Marcin Szalowicz
Thank you for the feedback. Can you also please tell us, where did you get the MySQL Workbench package?
[20 Feb 2014 22:36] Rob Wilmshurst
Workbench is version 6.0.8-74.1 from opensuse 13.1 database repo:

http://download.opensuse.org/repositories/server:/database/openSUSE_13.1/x86_64/
[25 Feb 2014 13:56] MySQL Verification Team
Please try version 6.0.9 or 6.1.1 from our site download:

http://dev.mysql.com/downloads/tools/workbench/
[26 Mar 2014 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".