Bug #75258 Workbench crashes after saving model/diagram and deletes old model
Submitted: 18 Dec 2014 11:29 Modified: 18 Dec 2014 15:32
Reporter: Thomas Drießen Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S1 (Critical)
Version:6.2.4 OS:Windows (7 64bit)
Assigned to: CPU Architecture:Any
Tags: workbench model diagram save delete crash

[18 Dec 2014 11:29] Thomas Drießen
Description:
Hello,
After updating Mysql Workbench from version 5.x.x to 6.2.4 with Mysql Installer there is a critical Problem with saving diagrams.

I opened my old model/diagram, which I had  created before with Workbench 5.x. After saving this diagram Workbench crashes and the original model/ diagram was deleted by Workbench. This is very big shit! This was about 7 days ago.

In the meantime I tested a litte bit.
- I removed Workbench 6.2.4 (x86) with Mysql Installer from PC.
- Then reboot.
- Renaming old installation directory with "_"
- Adding Workbench 6.2.4 (x64) with Mysql Installer on PC.
- Same bug as before.

So I tried to create a new diagram. After adding a single table and then to save this simple diagram there is also a complete crash of the program.

I don't find any solution to save a model without crashing.

Attached you will find a screenshot after the crash and also a logfile with Debug-Level 3.

Please help me fixing this problem.

Kind regards,
Thomas

How to repeat:
- Start Workbench
- Add a new model
- Add a new diagram
- Add a new table
- Add some columns
- Save the diagram

Suggested fix:
None.
[18 Dec 2014 11:30] Thomas Drießen
Screenshot after crash

Attachment: workbench_6.2.4_crash.jpg (image/jpeg, text), 99.88 KiB.

[18 Dec 2014 11:38] Thomas Drießen
I think that the old Workbench version was 6.1.4 (x86) from which I made a update to 6.2.4.
[18 Dec 2014 12:51] MySQL Verification Team
Thank you for the bug report. Please check if the folder name is affected like bug http://bugs.mysql.com/bug.php?id=74231 ? Thanks.
[18 Dec 2014 14:30] Thomas Drießen
Folder name was before and after update:
D:\xxx Thomas Drießen\Projekte\xxx\Datenbank

After changing the folder name to following - saving works fine:
D:\xxx Thomas Driessen\Projekte\xxx\Datenbank

It would be fine, if a bugfix is available for this. ;-)

Kind regards,
Thomas
[18 Dec 2014 15:32] MySQL Verification Team
Thank you for the feedback. Please follow the bug mentioned to know when it was fixed. Thanks.
[12 Mar 2015 11:57] cüneyt nalçacı
I had the same problem wşth workbench 6.2.4.12437.
I found out that if the target directory or sub directories names has Turkish letters like "ıüğişçöÜĞİŞÇÖ" , workbech crashes.
When I change them to similar English letters like "iugiscoUGISCO" it saves normal.
I use Windows 8.1 English with Turksh locale settings.
Kind Regards,
Cuneyt
[26 Jun 2015 21:07] Eduardo Yoshinaga
I had the same problem with workbench 6.3.3.0 build 592. The workbench crashes when using portuguese letters like 'ãõé'.
The problem was solved when I removed this letters.
I use Windows 8.1 Portuguese with English local settings.
Eduardo Kurita
[28 Aug 2015 13:29] Brice GARCIN
I have the same problem with version 6.3.3.0. I only use upper case characters like "ARBO". I get the same crash.

To reproduce the problem:

 - Create a new model
 - File/Save Model As
 - File name : ARBO
 - Save button

  Nom d’événement de problème:	BEX64
  Nom de l’application:	MySQLWorkbench.exe
  Version de l’application:	6.3.3.0
  Horodatage de l’application:	552e7553
  Nom du module par défaut:	MSVCR120.dll
  Version du module par défaut:	12.0.21005.1
  Horodateur du module par défaut:	524f83ff
  Décalage de l’exception:	000000000006dd3d
  Code de l’exception:	c0000417
  Données d’exception:	0000000000000000
  Version du système:	6.1.7601.2.1.0.256.48
  Identificateur de paramètres régionaux:	1036
  Information supplémentaire n° 1:	6d6c
  Information supplémentaire n° 2:	6d6c12c0a1687e07ee05806340710b37
  Information supplémentaire n° 3:	cc39
  Information supplémentaire n° 4:	cc39fc38d3a53cae0ad8f93b7f599aea
[21 Jun 2017 22:38] Joel PV
*Steps to reproduce:*

# Given user opens MySQL Workbench(6.3 Community)
# When click on Models (+)
# And click on "Save Model to Current File" button in tools bar
# Then set (path and) fileName 
# And click on "Save" button in popup dialog

*Current result:*
01. The next message is being displayed:
	MySQL Workbench
	A problem caused the program to stop working correctly
	Windows will close the program and notify you if solution is available.
02. The model is not being saved.

*Excepted Result:*
01. No errors must be displayed.
02. The model must be saved in the path and fileName provided.
[21 Jun 2017 23:37] Joel PV
Details:
I tried updating from MySQL Workbench but is said that I was using the last version (6.3.4).
I downloaded the version 5.7.18.1 (mysql-installer-community-5.7.18.1)
From: https://dev.mysql.com/downloads/windows/installer/5.7.html
Install the version 5.7.18.1

SOLUTION:
Automatically it updates to 6.3.8
The issue is not present (I was able to save .mwb file).